1 / 9

Disk-to-Disk Backups with Rsync

Learn how to use Rsync for automated snapshot-style backups with Linux, eliminating the need for tape backups. This guide provides step-by-step instructions and helpful resources for setting up centralized backups and configuring clients.

Télécharger la présentation

Disk-to-Disk Backups with Rsync

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. Disk-to-Disk Backups with Rsync Robert Tuck robtuck@cs.rutgers.edu

  2. Background • Cost of disk backup is quickly approaching cost of tape backup • Easy Automated Snapshot-Style Backups with Linux and Rsync • http://www.mikerubel.org/computers/rsync_snapshots/

  3. Our Goals • Eliminate tape backups • Easy setup for clients • No additional users • Rsync is only software necessary * • Backup configs on client • Centralized backups

  4. Backup Mechanics BackUp Server BackUp Client {backup directory} {root} yesterday today tomorrow etc etc etc etc Equal? Equal? BestOS.txt BestOS.txt BestOS.txt BestOS.txt Filesystem Storage …01001110011011000110… No! Yes! File File File’ File’

  5. What’s out there? Rsnapshot (rsnapshot.org) • local rsync, rsync over ssh, rsync server • Simple centralized configuration of all backups Snapback2 (http://www.perusion.com/misc/Snapback2/) • local rsync, rsync over ssh • Feature-rich, centralized configuration of all backups

  6. What we do • Backup organization structure • Rsync “secrets” for login • Client backup configuration is controlled by the client system administrator • Rsync daemon on client

  7. Organization of Backups / backup directory / client name / backup name / structure(s) Name of the backup client Date format : yymmdd.hhmm Backup structures relative to client root

  8. Backup Overview Backup Server Client Exports Rsync “Secrets” directory Runs rsync daemon • Server initiates backup • Generates rsync “secrets” • Gets configuration from client with rsync • Parses configuration and starts backup • Destroys “secrets”

  9. Future? • Windows • Improved restore mechanism • Off-site backup server More Info • http://www.cs.rutgers.edu/lcsr/projects/rsync_backup • http://rsync.samba.org • http://www.mikerubel.org/computers/rsync_snapshots/

More Related