Assuming the remote machine has SSH successfully installed and working then it is a simple case:
rsync -v -u -a --delete --rsh=ssh --stats username@192.168.0.100:/home/username/remotefile.txt
This will copy files from /home/username/remotefile.txt on the machine at 192.168.0.100
to copy files to that same machine then the command syntax is as follows:
rsync -v -u -a --delete --rsh=ssh --stats localfile.txt username@192.168.0.100:/home/username/
I will do a more in depth backup write up using rsync soon.
I no longer use Ubuntu, Old articles will remain but from 2013/11 everything will be related to Debian.
Showing posts with label backup. Show all posts
Showing posts with label backup. Show all posts
Saturday, 30 August 2008
Use rsync to and from copy files from a remote machine
Subscribe to:
Posts (Atom)