Question


How to copy template files from one backup server to another?


Environment


All versions of OnApp


Answer


The command below works on a server with the file you are trying to copy from:

scp ./file_name root@host.com:/path/to/file/
CODE

Example

[ root@CP ~]# scp ./freebsd-8.2_HVMPV-x64-1.1.tar.gz root@123.1.2.3:/onapp/templates/
CODE


Additional Information


It requires a SSH password for root if there is no SSH key installed. The OnApp Control Panel user should be able to ssh as a root to any compute resource or backup server in the same cloud. Additional SSH keys can be installed, if needed.