Sometimes your server runs out of disk space and you can't create a .zip or .tar.gz file, you can still compress and send it directly to another server without using extra space:

tar czf --C /home/user public_html | ssh user@server-backup "cat >
/opt/website_backup.tar.gz"

Explanation

Back to Home