Difference between revisions of "Rsync"

From MyWiki
Jump to: navigation, search
Line 4: Line 4:
 
[root@tecmint]# rsync -avzh root@192.168.0.100:/home/tarunika/rpmpkgs /tmp/myrpms<br>
 
[root@tecmint]# rsync -avzh root@192.168.0.100:/home/tarunika/rpmpkgs /tmp/myrpms<br>
 
rsync -avzhe ssh root@192.168.0.100:/root/install.log /tmp/<br>
 
rsync -avzhe ssh root@192.168.0.100:/root/install.log /tmp/<br>
 +
rsync -avzhe ssh backup.tar root@192.168.0.100:/backups/<br>

Revision as of 15:58, 13 November 2014

rsync -e 'ssh -p 30000' -avl --delete --stats --progress demo@123.45.67.890:/home/demo /backup/
--exclude-from '/home/backup/exclude.txt'
[root@tecmint]$ rsync -avz rpmpkgs/ root@192.168.0.101:/home/
[root@tecmint]# rsync -avzh root@192.168.0.100:/home/tarunika/rpmpkgs /tmp/myrpms
rsync -avzhe ssh root@192.168.0.100:/root/install.log /tmp/
rsync -avzhe ssh backup.tar root@192.168.0.100:/backups/