Rsync

From Hackepedia
Revision as of 18:12, 7 June 2012 by Franks (talk | contribs) (Created page with "Trying to backup remotely using rsync + ssh so the transfer is encrypted. Two things non-standard in my setup, I use a non-standard ssh port (4321), and I'm connecting from t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Trying to backup remotely using rsync + ssh so the transfer is encrypted. Two things non-standard in my setup, I use a non-standard ssh port (4321), and I'm connecting from the box I want backed up, to the server. In most examples, you're connecting from the server, to the client.

$ rsync -avz -e 'ssh -p4321' /client/homedirectory remoteuser@remotehost:/remote/backup/directory