We moved this page to our Documentation Portal. You can find the latest updates here. |
Question
How to copy template files from one backup server to another?
Environment
All versions of OnApp / general Linux question.
Answer
The command below works on Server with the file you are trying to copy from:
scp ./file_name root@host.com:/path/to/file/
Example:
[ root@CP ~]# scp ./freebsd-8.2_HVMPV-x64-1.1.tar.gz root@123.1.2.3:/onapp/templates/
Additional Info
This will require ssh password for root if there is no ssh key installed. The OnApp CP's 'onapp' user should be able to ssh as root to any HV or backup server on the same cloud. Additional ssh keys can be installed, if needed. Additional info on "scp" itself can be found online in its 'man' page.