Wednesday, October 27, 2010

Linux Backup search

this is just a collection of backup solutions for linux.  I'll update it as they are investigated.

http://luckybackup.sourceforge.net/

rsync (of any kind)
example for dry run on local nas:

rsync -avn -e /export/nas-10-11-d5 /export/nas-01-7B-75

rsync wrapper  http://rsnapshot.org/ 

  • two directories
    rsync -zvr /var/opt/installation/inventory/ /root/temp
  • Preserve timestamps during Sync using rsync -a
    rsync -azv /var/opt/installation/inventory/ /root/temp/
  • Synchronize Only One File
    rsync -v /var/lib/rpm/Pubkeys /root/temp/
  • Synchronize Files From Local to Remote
    rsync -avz /root/temp/ thegeekstuff@192.168.200.10:/home/thegeekstuff/temp/
  • Synchronize Files From Remote to Local
    rsync -avz thegeekstuff@192.168.200.10:/var/lib/rpm /root/temp
  • Remote shell for Synchronization
    rsync -avz -e ssh thegeekstuff@192.168.200.10:/var/lib/rpm /root/temp
  • Do Not Overwrite the Modified Files at the Destination
    rsync -avzu thegeekstuff@192.168.200.10:/var/lib/rpm /root/temp
  • Synchronize only the Directory Tree Structure (not the files)
    rsync -v -d thegeekstuff@192.168.200.10:/var/lib/ .
  • View the rsync Progress during Transfer
    rsync -avz --progress thegeekstuff@192.168.200.10:/var/lib/rpm/ /root/temp/
  • Delete the Files Created at the Target
    rsync -avz --delete thegeekstuff@192.168.200.10:/var/lib/rpm/ .
http://www.thegeekstuff.com/2010/09/rsync-command-examples/

No comments:

Post a Comment