Download your full site backups with SCP command

For shell users, this is a best way to download really really large files from the server and avoid FTP timeouts.

Here is the syntax for basic file download from our servers, assuming your site backup is in your home directory:

$ scp -P[port] [username]@[yourdomain.com]:/home/username/[file-to-download.tar.gz] [local-directory]

If you're curious about further applications of scp, which is really a powerful two-way command, I found a site with example syntax for what appears to be most use cases for scp - and way more helpful than the manual. Check out http://www.hypexr.org/linux_scp_help.php . Also, just be warned that if you're not a shell wiz, figuring out the SCP (Secure Copy) command can a little tricky.

Category:

Author: rosschapman

Created on: May 14th, 2009

Back to article list