Linux Backup System using rsync, tar, gzip

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

2 comments

Comments 1 - 2 of 2 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

3 Favorites

Linux Backup System using rsync, tar, gzip - Presentation Transcript

  1. Linux backup system
    • Backup files from Linux laptop to Linux server
    • All automated (ie I don't think about it)
    • Use simple standard Linux command-line tools
  2. Motivation
  3. My situation
    • Laptop that goes everywhere – my primary workstation
    • Server, sits in my apartment. Doesn't do much other then hold files + serve as test bed for the occassional wacky experiment
    • Wireless network
  4. What I did
    • Cron job on laptop which runs rsync script to mirror changes nightly at 10:10pm
    • Monthly which takes a snapshot of subset of files and pushes these to Amazon S3
    • [Still in the future] Nightly rsync from server to Amazon S3
  5. S3FOX
  6. Rsync
    • Is awesome!
    • ” is an open source utility that provides fast incremental file transfer” - samba.anu.edu.au/rsync/
    • Used for mirroring + backup purpose
  7. Cron
    • ” Program that enables unix users to execute commands or scripts automatically at a specified time/date.” - Wikipedia
    • Used extensively by all *nix systems and aspiring amateur Linux sysadmins
  8. Tar + gzip
    • Tar turns many files into one file – no built-in compression
    • Commonly used with gzip or bzip2 (making, respectively *.tar.gz and *.tar.bz2 files
  9. Unix Philosophy
    • Do one thing and do it well
    • Rsync, tar, gzip, cron all do one task well
  10. Small pieces loosly joined
    • Tools reusable
    • Designed to interoperate
    • Can be used together in scripts in 1000s of different ways
  11. Easier to learn
    • Use these different tools all the time
    • Rsync to mirror changes from laptop to production (or devel) server
    • Tar to uncompress files from internet
    • Makes it easier to start a new scripting project
  12. K.I.S.S
    • Keep It Simple Stupid
    • Simple tools make for simple systems that are easy to build, understand, and maintain
  13. Odes to Simplicity
    • ” Everything should be made as simple as possible, but no simpler.” – Albert Einstein
    • "Simplicity is the ultimate sophistication" – Leonardo Da Vinci
    • "It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away" – Antoine de Saint Exupéry
  14. Backups = peace of mind
  15.  
SlideShare Zeitgeist 2009

+ kylemathewskylemathews Nominate

custom

3297 views, 3 favs, 1 embeds more stats

Presentation from my first project in the unclass a more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 3297
    • 3294 on SlideShare
    • 3 from embeds
  • Comments 2
  • Favorites 3
  • Downloads 83
Most viewed embeds
  • 3 views on https://island.byu.edu

more

All embeds
  • 3 views on https://island.byu.edu

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories