DigitalLlama.net
Random notes of an IT Jedi
Tuesday, 26 May 2009
Quick remote backup over ssh
To create a quick backup from one linux box to another the following command can be used (it will ask for your password on the remote machine unless you have setup ssh keys):
$ tar zcvf - /path/to/files | ssh user@remote-server "cat > backup.tgz"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment