1 / 6

Backup

Backup. WeeSan Lee <weesan@cs.ucr.edu> http://www.cs.ucr.edu/~weesan/cs183/. Backup. Version control configuration files, eg. $ cd /etc $ ci hosts $ co -l hosts $ rcsdiff hosts. Backup. rsync http://samba.anu.edu.au/rsync/ Example: $ rsync -av --delete

izzy
Télécharger la présentation

Backup

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Backup WeeSan Lee <weesan@cs.ucr.edu> http://www.cs.ucr.edu/~weesan/cs183/

  2. Backup • Version control configuration files, eg. • $ cd /etc • $ ci hosts • $ co -l hosts • $ rcsdiff hosts

  3. Backup • rsync • http://samba.anu.edu.au/rsync/ • Example: • $ rsync -av \ • --delete \ • --exclude "*.o" \ • -b --backup-dir "`date +%F`" \ • /etc /import \ • backup:/data/eon

  4. Backup • rdiff-backup • http://www.nongnu.org/rdiff-backup/ • Examples: • $ rdiff-backup foo bar • $ rdiff-backup /etc backup::/eon • $ rdiff-backup -r now \ • backup::/eon/etc/passwd /etc/passwd • $ rdiff-backup -r 10D \ • backup::/eon/etc/passwd /etc/passwd

  5. Backup • rdist • http://www.benedikt-stockebrand.de/rdist-intro_e.html • Distfile is makefile like, eg. • $ cat backup.eon • /etc -> backup • Install /eon; • $ rdist -f backup.eon

  6. Reference • LAH • Ch 9: Backups

More Related