Originally Posted by
CharlesA
Tar would be the best option then.
You can run tar on the remote system and still save the results locally. Here is a simple example, yours will obviously have to be more complex to exclude various directories.
Code:
ssh d4m1r@vps.example.org "tar zcf - /var/www/" > www-backup.tgz
That will avoid the trouble of having a temporary tarball taking up space on the remote machine. That is especially relevant if you were going to back up the whole machine as you mentioned.
Bookmarks