how move backup file from SSH

seachen

Verified User
Joined
Feb 3, 2007
Messages
491
i have a backup file inside SSH.

may i know how to do move it to my directadmin user_backups directory in order i can restore it from DA.

can somebody guide me?

thank you
 
inside SSH makes no sense. Do you mean you used scp to upload a backup file? If not, what do you mean?

You can shell into your server and as root:

mv /path/to/backupfile /desired/path/to/backupfile

Note that depending on how you got the folder to the server to begin with, you may need to change it's ownership to that of the domain you're trying to restore.

Jeff
 
I think he means that he has ssh'ed into a remote server to retrieve the backup and now needs to move it to his new server to restore the user.

If that is the case, you can use scp to copy it from server to server via ssh.
scp /path/to/backup.file.tar.gz user@ remote.server.com:/path/to/place/backup.file.tar.gz

(the space between 'user@' and 'remote' is just to stop the forum thinking it is an email address, don't put the space in)

Hope it helps.
 
daz, if you use advanced reply you can turn off automatically parse links in text and the forum won't think it's an email address :).

Jeff
 
Back
Top