SlideShare une entreprise Scribd logo
1  sur  32
Télécharger pour lire hors ligne
1




                      rsnapshot
                         A Simple Backup Solution
                                               Adam John Trickett
                                               www.iredale.net
                                          adam.trickett@iredale.net
                                             PGP Key: 0x166C4BF0
Version 1.0.0 © Adam Trickett September 2008            Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
2




                              A Few
                             Questions
Version 1.0.0 © Adam Trickett September 2008   Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
3




                 Have you ever 
                  had a total 
                   disaster?
Version 1.0.0 © Adam Trickett September 2008   Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
4




Version 1.0.0 © Adam Trickett September 2008   Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
5




      Have you ever
     had an operating 
       system fail?
Version 1.0.0 © Adam Trickett September 2008   Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
6




Version 1.0.0 © Adam Trickett September 2008   Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
7




      Have you ever 
     deleted a file you 
      didn't want to?
Version 1.0.0 © Adam Trickett September 2008   Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
8




 #rm -rf /
Version 1.0.0 © Adam Trickett September 2008   Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
9




                                       Severity & Frequency
         ●
               Major disasters tend to be infrequent but are 
               totally destructive:
                  ●
                       High levels of data destruction
                  ●
                       Low frequency of occurrence
         ●
               Small accidents tend to be very frequent but 
               of low importance:
                  ●
                       Nuisance level of damage
                  ●
                       High frequency of occurrence

Version 1.0.0 © Adam Trickett September 2008      Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
10




                                       How Do You Backup?
         ●
               Home made script 45%
         ●
               Don't backup 21%
         ●
               BackupPC 8%
         ●
               Bacula 8%
         ●
               rsnapshot 7%
         ●
               A commercial application 6%
         ●
               Amanda 2%
                                               http://www.debian-administration.org/polls/129/
Version 1.0.0 © Adam Trickett September 2008                   Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
11




                                           What is rsnapshot?

          rsnaphot is an open­source
        near­Continuous Data Protection 
             backup solution in the 
          replication/snapshot family.


Version 1.0.0 © Adam Trickett September 2008        Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
12




                                               Traditional
         ●
               Discontinuous data protection: nightly or 
               weekly backups
         ●
               Not possible to restore between backups
         ●
               Often difficult to restore from without 
               sophisticated management software
         ●
               Backups typically made off­line to tape or 
               other similar medium
         ●
               Well understood and cheap
Version 1.0.0 © Adam Trickett September 2008         Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
13




                                               “Modern”
         ●
               Continuous Data Protection
         ●
               All saved changes are journalled or logged
         ●
               Possible to restore any file from any point in 
               time
         ●
               Recovery is “on demand” in real­time
         ●
               Typically backups are replicated to a file 
               system before off­lined to tape
         ●
               New and potentially very expensive
Version 1.0.0 © Adam Trickett September 2008       Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
14




                                               Near­CDP
         ●
               Near­CDP is CDP like but IS NOT CDP
         ●
               Regular snapshots throughout the working day 
               but not continuous
         ●
               Snapshots stored on on­line in a file system 
               not off­line
         ●
               Relatively cheap, now that disk is cheap and 
               networks are fast – several implementations
         ●
               Integrates with traditional backup solutions
Version 1.0.0 © Adam Trickett September 2008       Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
15




                                               Why rsnapshot?
         ●
               Lightweight application:
                  ●
                       Easy configuration
                  ●
                       More sophisticated than a DIY solution
                  ●
                       Less sophisticated than BackupPC
         ●
               Near­CDP better for real­world scenarios 




Version 1.0.0 © Adam Trickett September 2008          Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
16




                   What is rsnapshot made from?
         ●
               Uses commonly used components of any GNU/
               POSIX system:
                  ●
                       Perl
                  ●
                       rsync
                  ●
                       File system “hard links”
                  ●
                       logrotate
                  ●
                       Standard GNU/POSIX commands 
                  ●
                       Open SSH (if you want remote)


Version 1.0.0 © Adam Trickett September 2008      Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
17




                                               The Theory
         ●
               Create a “snapshot” of your files with rsync
         ●
               On subsequent runs use rsync to hard link files 
               between the previous run and the current run
         ●
               Use logrotate to shuffle the snapshot stack 
               deleting the oldest in the stack
         ●
               snapshot.0 is always the newest, each 
               additional snapshot.n+1 is one snapshot older

                                    http://www.mikerubel.org/computers/rsync_snapshots/

Version 1.0.0 © Adam Trickett September 2008            Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
18




                                                  Snapshots

                snap.0                           snap.1                          snap.2                                  snap.3

0         example.file                         example.file               example.file


1                                              example.file               example.file                             example.file


2                                                                         example.file                             example.file


3                                                                                                                  example.file
Version 1.0.0 © Adam Trickett September 2008                  Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
19




                                               Installation
         ●
               Is in the common repositories, for example on 
               Debian:
                  ●
                       $ sudo aptitude install rnsapshot
         ●
               Or download directly from www.rsnapshot.org
         ●
               You will need rsync, perl and logrotate as a 
               minimum



Version 1.0.0 © Adam Trickett September 2008         Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
20




                                               Configuration
     ●
           Everything is configured by default from a single 
           text configuration file and one cron.d file:
             ●
                  /etc/rsnapshot.conf
             ●
                  /etc/cron.d/rsnapshot
     ●
           Additional configuration files can be created for 
           specific purposes
     ●
           Additional filter rules can be created to configure 
           includes & excludes for rsync

Version 1.0.0 © Adam Trickett September 2008          Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
21




                           /etc/rsnapshot.conf
         ●
               The Debian package defaults are pretty good 
               and should work out of the box
         ●
               Format is simple key value settings:
                  ●
                       Keys are separated from values by tabs NOT spaces
                  ●
                       Directories must end with trailing slash




Version 1.0.0 © Adam Trickett September 2008     Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
22




                                Snapshot Root Directory
        ###########################
        # SNAPSHOT ROOT DIRECTORY #
        ###########################

        # All snapshots will be stored under this root directory.
        #
        snapshot_root   /srv/snapshots/

        # If no_create_root is enabled, rsnapshot will not automatically
        # create the snapshot_root directory. This is particularly useful
        # if you are backing up to removable media, such as a FireWire
        # or USB drive.
        #
        no_create_root 0




Version 1.0.0 © Adam Trickett September 2008   Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
23




                 External Program Dependencies
        # LINUX USERS: Be sure to uncomment quot;cmd_cpquot;. This gives you
        # extra features.
        #
        cmd_cp          /bin/cp

        # Uncomment this to specify the path to rsnapshot-diff.
        #
        cmd_rsnapshot_diff      /usr/bin/rsnapshot-diff

        # Specify the path to a script (and any optional arguments) to
        # run right before rsnapshot syncs files
        #
        cmd_preexec     /etc/cron.daily/50-svn-hotcopy

        # Specify the path to a script (and any optional arguments) to
        # run right after rsnapshot syncs files
        #
        #cmd_postexec   /path/to/postexec/script

Version 1.0.0 © Adam Trickett September 2008   Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
24




                                                 Backup Interval
        #########################################
        #           BACKUP INTERVALS            #
        # Must be unique and in ascending order #
        # i.e. hourly, daily, weekly, etc.      #
        #########################################

        interval                               hourly    8
        interval                               daily     7
        interval                               weekly    6
        #interval                              monthly   3




Version 1.0.0 © Adam Trickett September 2008                 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
25




                                               Backup Points
        ###############################
        ### BACKUP POINTS / SCRIPTS ###
        ###############################

        # Lapin-Bleu
        backup /home/          lapin-bleu/
        backup /etc/           lapin-bleu/
        backup /usr/local/     lapin-bleu/
        backup /srv/www/       lapin-bleu/
        backup /srv/archive/subversion lapin-bleu/

        # Wombat
        backup root@wombat:/home/                  wombat/
        backup root@wombat:/etc/                   wombat/

        # Fennec
        backup root@fennec:/home/                  fennec/
        backup root@fennec:/etc/                   fennec/


Version 1.0.0 © Adam Trickett September 2008           Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
26




                     /etc/cron.d/rsnapshot
        # This is a sample cron file for rsnapshot.
        # The values used correspond to the examples in /etc/rsnapshot.conf.
        # There you can also set the backup points and many other things.
        #
        # To activate this cron file you have to uncomment the lines below.
        # Feel free to adapt it to your needs.
        #
        #Min    Hour    DoM     Month   DoW     who     command

        01               6,12,18-23 *          *   *          root             /usr/bin/rsnapshot hourly
        15               20      *             *   *          root             /usr/bin/rsnapshot daily
        25               20      *             *   1          root             /usr/bin/rsnapshot weekly

        #30              2                1    *   *          root             /usr/bin/rsnapshot monthly




Version 1.0.0 © Adam Trickett September 2008           Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
27




                                 /root/.ssh/config
        Host wombat
        Hostname wombat.iredale.net
        user root
        BatchMode yes
        IdentityFile /root/.ssh/rsnapshot.id_rsa

        Host fennec
        Hostname fennec.iredale.net
        user root
        BatchMode yes
        IdentityFile /root/.ssh/rsnapshot.id_rsa




Version 1.0.0 © Adam Trickett September 2008   Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
28




       /root/.ssh/authorized_keys
        no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-
        pty,command=quot;/root/rsnapshotquot; ssh-rsa AAAAB...== root@lapin-bleu

        #!/bin/dash
        #/root/rsnaphot
        if [ quot;$SSH_ORIGINAL_COMMANDquot; =
             'rsync --server --sender -logDtprCRSe.iL --numeric-ids . /home' ]
        then
             eval $SSH_ORIGINAL_COMMAND
        elif [ quot;$SSH_ORIGINAL_COMMANDquot; =
             'rsync --server --sender -logDtprCRSe.iL --numeric-ids . /etc' ]
        then
             eval $SSH_ORIGINAL_COMMAND
        else
             exit 0
        fi




Version 1.0.0 © Adam Trickett September 2008   Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
29




                                    What does it look like?
        /srv/snapshots
        drwxr-xr-x 5 root                root   49   2008-07-30   21:01   weekly.5
        drwxr-xr-x 5 root                root   49   2008-08-11   21:01   weekly.4
        drwxr-xr-x 5 root                root   49   2008-08-15   21:01   weekly.3
        drwxr-xr-x 5 root                root   49   2008-09-08   21:01   weekly.2
        drwxr-xr-x 5 root                root   49   2008-09-15   21:01   weekly.1
        drwxr-xr-x 5 root                root   49   2008-09-22   21:02   weekly.0
        drwxr-xr-x 5 root                root   49   2008-09-25   21:01   daily.6
        drwxr-xr-x 5 root                root   49   2008-09-26   21:01   daily.5
        drwxr-xr-x 5 root                root   49   2008-09-27   21:01   daily.4
        drwxr-xr-x 5 root                root   49   2008-09-28   21:01   daily.3
        drwxr-xr-x 5 root                root   49   2008-09-29   21:01   daily.2
        drwxr-xr-x 5 root                root   49   2008-09-30   21:01   daily.1
        drwxr-xr-x 5 root                root   49   2008-10-01   21:01   daily.0
        drwxr-xr-x 5 root                root   49   2008-10-02   19:02   hourly.7
        drwxr-xr-x 5 root                root   49   2008-10-02   20:01   hourly.6
        drwxr-xr-x 5 root                root   49   2008-10-02   21:01   hourly.5
        drwxr-xr-x 5 root                root   49   2008-10-02   22:01   hourly.4
        drwxr-xr-x 5 root                root   49   2008-10-02   23:01   hourly.3
        drwxr-xr-x 5 root                root   49   2008-10-03   06:01   hourly.2
        drwxr-xr-x 5 root                root   49   2008-10-03   12:01   hourly.1
        drwxr-xr-x 5 root                root   49   2008-10-03   18:01   hourly.0

Version 1.0.0 © Adam Trickett September 2008                          Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
30




                                               References
         ●
              Rsnapshot site:
                 ●
                      http://www.rsnapshot.org/
         ●
              Rsnapshot articles:
                 ●
                      http://www.debian-
                      administration.org/articles/217
         ●
              Backup and Recovery by W. C. Preston:
                 ●
                      http://www.backupcentral.com/
                 ●
                      http://oreilly.com/catalog/9780596102463/

Version 1.0.0 © Adam Trickett September 2008        Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
31




                           My Slide & Talk Resources 
         ●
               http://www.iredale.net/p/by-type/talk/
         ●
               http://www.hants.lug.org.uk/cgi-bin/wiki.pl?TechTalks
         ●
               http://www.slideshare.net/drajt/




Version 1.0.0 © Adam Trickett September 2008   Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
32




                                               Thank You


                      Any 
                    Questions?
Version 1.0.0 © Adam Trickett September 2008       Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.

Contenu connexe

Similaire à Rsnapshot

Cracking Into Embedded Devices - Hack in The Box Dubai 2008
Cracking Into Embedded Devices - Hack in The Box Dubai 2008Cracking Into Embedded Devices - Hack in The Box Dubai 2008
Cracking Into Embedded Devices - Hack in The Box Dubai 2008guest642391
 
Designing and Attacking DRM (RSA 2008)
Designing and Attacking DRM (RSA 2008)Designing and Attacking DRM (RSA 2008)
Designing and Attacking DRM (RSA 2008)Nate Lawson
 
Own-It London Event: iCrossing presentation on building brands online
Own-It London Event: iCrossing presentation on building brands onlineOwn-It London Event: iCrossing presentation on building brands online
Own-It London Event: iCrossing presentation on building brands onlineAntony Mayfield
 
Enterprise Security mit Spring Security
Enterprise Security mit Spring SecurityEnterprise Security mit Spring Security
Enterprise Security mit Spring SecurityMike Wiesner
 
Sony hdr sr10 e manual
Sony hdr sr10 e manualSony hdr sr10 e manual
Sony hdr sr10 e manuallazyab
 
Samuel Asher Rivello - PureMVC Hands On Part 2
Samuel Asher Rivello - PureMVC Hands On Part 2Samuel Asher Rivello - PureMVC Hands On Part 2
Samuel Asher Rivello - PureMVC Hands On Part 2360|Conferences
 
Snap - the universal packaging format for linux distros
Snap - the universal packaging format for linux distrosSnap - the universal packaging format for linux distros
Snap - the universal packaging format for linux distrosAnthony Wong
 
Web2.0 Powered Collaboration with Alfresco. Presented by Rivet Logic
Web2.0 Powered Collaboration with Alfresco. Presented by Rivet LogicWeb2.0 Powered Collaboration with Alfresco. Presented by Rivet Logic
Web2.0 Powered Collaboration with Alfresco. Presented by Rivet LogicAlfresco Software
 
Test Expo 2009 Site Confidence & Seriti Consulting Load Test Case Study
Test Expo 2009   Site Confidence & Seriti Consulting   Load Test Case StudyTest Expo 2009   Site Confidence & Seriti Consulting   Load Test Case Study
Test Expo 2009 Site Confidence & Seriti Consulting Load Test Case StudyStephen Thair
 
Learn About Disaster Recovery Services
Learn About Disaster Recovery ServicesLearn About Disaster Recovery Services
Learn About Disaster Recovery ServicesBradley Smith
 
Generator Tricks for Systems Programmers
Generator Tricks for Systems ProgrammersGenerator Tricks for Systems Programmers
Generator Tricks for Systems ProgrammersHiroshi Ono
 
Evento Startup Essential Barcelona
Evento Startup Essential BarcelonaEvento Startup Essential Barcelona
Evento Startup Essential BarcelonaManuel Jaffrin
 
Performance & agilité les atouts du datacenter électronique selon XtremIO
Performance & agilité les atouts du datacenter électronique selon XtremIOPerformance & agilité les atouts du datacenter électronique selon XtremIO
Performance & agilité les atouts du datacenter électronique selon XtremIORSD
 
O leary2012 comp_ppt_ch08
O leary2012 comp_ppt_ch08O leary2012 comp_ppt_ch08
O leary2012 comp_ppt_ch08Dalia Saeed
 
Trusted Edge - Information Governance
Trusted Edge - Information GovernanceTrusted Edge - Information Governance
Trusted Edge - Information Governancejfxm3671
 
Live traffic capture and replay in cassandra 4.0
Live traffic capture and replay in cassandra 4.0Live traffic capture and replay in cassandra 4.0
Live traffic capture and replay in cassandra 4.0Vinay Kumar Chella
 
Macintosh Myths
Macintosh MythsMacintosh Myths
Macintosh Mythsjaberg
 
Don't Ship That Container - Dirk Hohndel
Don't Ship That Container - Dirk HohndelDon't Ship That Container - Dirk Hohndel
Don't Ship That Container - Dirk HohndelShane Coughlan
 
Deborah Lindquist Portfolio 2016
Deborah Lindquist Portfolio 2016Deborah Lindquist Portfolio 2016
Deborah Lindquist Portfolio 2016Deborah Lindquist
 

Similaire à Rsnapshot (20)

Cracking Into Embedded Devices - Hack in The Box Dubai 2008
Cracking Into Embedded Devices - Hack in The Box Dubai 2008Cracking Into Embedded Devices - Hack in The Box Dubai 2008
Cracking Into Embedded Devices - Hack in The Box Dubai 2008
 
Designing and Attacking DRM (RSA 2008)
Designing and Attacking DRM (RSA 2008)Designing and Attacking DRM (RSA 2008)
Designing and Attacking DRM (RSA 2008)
 
Own-It London Event: iCrossing presentation on building brands online
Own-It London Event: iCrossing presentation on building brands onlineOwn-It London Event: iCrossing presentation on building brands online
Own-It London Event: iCrossing presentation on building brands online
 
Enterprise Security mit Spring Security
Enterprise Security mit Spring SecurityEnterprise Security mit Spring Security
Enterprise Security mit Spring Security
 
Sony hdr sr10 e manual
Sony hdr sr10 e manualSony hdr sr10 e manual
Sony hdr sr10 e manual
 
Samuel Asher Rivello - PureMVC Hands On Part 2
Samuel Asher Rivello - PureMVC Hands On Part 2Samuel Asher Rivello - PureMVC Hands On Part 2
Samuel Asher Rivello - PureMVC Hands On Part 2
 
Snap - the universal packaging format for linux distros
Snap - the universal packaging format for linux distrosSnap - the universal packaging format for linux distros
Snap - the universal packaging format for linux distros
 
Web2.0 Powered Collaboration with Alfresco. Presented by Rivet Logic
Web2.0 Powered Collaboration with Alfresco. Presented by Rivet LogicWeb2.0 Powered Collaboration with Alfresco. Presented by Rivet Logic
Web2.0 Powered Collaboration with Alfresco. Presented by Rivet Logic
 
Test Expo 2009 Site Confidence & Seriti Consulting Load Test Case Study
Test Expo 2009   Site Confidence & Seriti Consulting   Load Test Case StudyTest Expo 2009   Site Confidence & Seriti Consulting   Load Test Case Study
Test Expo 2009 Site Confidence & Seriti Consulting Load Test Case Study
 
Learn About Disaster Recovery Services
Learn About Disaster Recovery ServicesLearn About Disaster Recovery Services
Learn About Disaster Recovery Services
 
Generator Tricks for Systems Programmers
Generator Tricks for Systems ProgrammersGenerator Tricks for Systems Programmers
Generator Tricks for Systems Programmers
 
Evento Startup Essential Barcelona
Evento Startup Essential BarcelonaEvento Startup Essential Barcelona
Evento Startup Essential Barcelona
 
Performance & agilité les atouts du datacenter électronique selon XtremIO
Performance & agilité les atouts du datacenter électronique selon XtremIOPerformance & agilité les atouts du datacenter électronique selon XtremIO
Performance & agilité les atouts du datacenter électronique selon XtremIO
 
O leary2012 comp_ppt_ch08
O leary2012 comp_ppt_ch08O leary2012 comp_ppt_ch08
O leary2012 comp_ppt_ch08
 
Trusted Edge - Information Governance
Trusted Edge - Information GovernanceTrusted Edge - Information Governance
Trusted Edge - Information Governance
 
Live traffic capture and replay in cassandra 4.0
Live traffic capture and replay in cassandra 4.0Live traffic capture and replay in cassandra 4.0
Live traffic capture and replay in cassandra 4.0
 
Fish eye real time tool kit
Fish eye real time tool kitFish eye real time tool kit
Fish eye real time tool kit
 
Macintosh Myths
Macintosh MythsMacintosh Myths
Macintosh Myths
 
Don't Ship That Container - Dirk Hohndel
Don't Ship That Container - Dirk HohndelDon't Ship That Container - Dirk Hohndel
Don't Ship That Container - Dirk Hohndel
 
Deborah Lindquist Portfolio 2016
Deborah Lindquist Portfolio 2016Deborah Lindquist Portfolio 2016
Deborah Lindquist Portfolio 2016
 

Plus de Adam Trickett

Remote Desktop Administration (Linux/X11)
Remote Desktop Administration (Linux/X11)Remote Desktop Administration (Linux/X11)
Remote Desktop Administration (Linux/X11)Adam Trickett
 
Energy Monitoring At Home
Energy Monitoring At HomeEnergy Monitoring At Home
Energy Monitoring At HomeAdam Trickett
 
Desktop Virtualisation
Desktop VirtualisationDesktop Virtualisation
Desktop VirtualisationAdam Trickett
 
How To Live a Low CO2 Life
How To Live a Low CO2 LifeHow To Live a Low CO2 Life
How To Live a Low CO2 LifeAdam Trickett
 
How to Review a Book (For Hants-LUG)
How to Review a Book (For Hants-LUG)How to Review a Book (For Hants-LUG)
How to Review a Book (For Hants-LUG)Adam Trickett
 
Achieving the Impossible with Perl
Achieving the Impossible with PerlAchieving the Impossible with Perl
Achieving the Impossible with PerlAdam Trickett
 
An Introduction to Udev (OBSOLETE)
An Introduction to Udev (OBSOLETE)An Introduction to Udev (OBSOLETE)
An Introduction to Udev (OBSOLETE)Adam Trickett
 
Introduction to the FHS
Introduction to the FHSIntroduction to the FHS
Introduction to the FHSAdam Trickett
 
Perl Introduction (OLD - NEARLY OBSOLETE)
Perl Introduction (OLD - NEARLY OBSOLETE)Perl Introduction (OLD - NEARLY OBSOLETE)
Perl Introduction (OLD - NEARLY OBSOLETE)Adam Trickett
 

Plus de Adam Trickett (11)

Remote Desktop Administration (Linux/X11)
Remote Desktop Administration (Linux/X11)Remote Desktop Administration (Linux/X11)
Remote Desktop Administration (Linux/X11)
 
Energy Monitoring At Home
Energy Monitoring At HomeEnergy Monitoring At Home
Energy Monitoring At Home
 
Desktop Virtualisation
Desktop VirtualisationDesktop Virtualisation
Desktop Virtualisation
 
How To Live a Low CO2 Life
How To Live a Low CO2 LifeHow To Live a Low CO2 Life
How To Live a Low CO2 Life
 
How to Review a Book (For Hants-LUG)
How to Review a Book (For Hants-LUG)How to Review a Book (For Hants-LUG)
How to Review a Book (For Hants-LUG)
 
Perl Quality
Perl QualityPerl Quality
Perl Quality
 
Achieving the Impossible with Perl
Achieving the Impossible with PerlAchieving the Impossible with Perl
Achieving the Impossible with Perl
 
An Introduction to Udev (OBSOLETE)
An Introduction to Udev (OBSOLETE)An Introduction to Udev (OBSOLETE)
An Introduction to Udev (OBSOLETE)
 
Introduction to the FHS
Introduction to the FHSIntroduction to the FHS
Introduction to the FHS
 
Perl Introduction (OLD - NEARLY OBSOLETE)
Perl Introduction (OLD - NEARLY OBSOLETE)Perl Introduction (OLD - NEARLY OBSOLETE)
Perl Introduction (OLD - NEARLY OBSOLETE)
 
Diy Web Development
Diy Web DevelopmentDiy Web Development
Diy Web Development
 

Dernier

CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 

Dernier (20)

CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Rsnapshot

  • 1. 1 rsnapshot A Simple Backup Solution Adam John Trickett www.iredale.net adam.trickett@iredale.net PGP Key: 0x166C4BF0 Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 2. 2 A Few Questions Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 3. 3 Have you ever  had a total  disaster? Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 4. 4 Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 5. 5 Have you ever had an operating  system fail? Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 6. 6 Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 7. 7 Have you ever  deleted a file you  didn't want to? Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 8. 8 #rm -rf / Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 9. 9 Severity & Frequency ● Major disasters tend to be infrequent but are  totally destructive: ● High levels of data destruction ● Low frequency of occurrence ● Small accidents tend to be very frequent but  of low importance: ● Nuisance level of damage ● High frequency of occurrence Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 10. 10 How Do You Backup? ● Home made script 45% ● Don't backup 21% ● BackupPC 8% ● Bacula 8% ● rsnapshot 7% ● A commercial application 6% ● Amanda 2% http://www.debian-administration.org/polls/129/ Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 11. 11 What is rsnapshot? rsnaphot is an open­source near­Continuous Data Protection  backup solution in the  replication/snapshot family. Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 12. 12 Traditional ● Discontinuous data protection: nightly or  weekly backups ● Not possible to restore between backups ● Often difficult to restore from without  sophisticated management software ● Backups typically made off­line to tape or  other similar medium ● Well understood and cheap Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 13. 13 “Modern” ● Continuous Data Protection ● All saved changes are journalled or logged ● Possible to restore any file from any point in  time ● Recovery is “on demand” in real­time ● Typically backups are replicated to a file  system before off­lined to tape ● New and potentially very expensive Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 14. 14 Near­CDP ● Near­CDP is CDP like but IS NOT CDP ● Regular snapshots throughout the working day  but not continuous ● Snapshots stored on on­line in a file system  not off­line ● Relatively cheap, now that disk is cheap and  networks are fast – several implementations ● Integrates with traditional backup solutions Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 15. 15 Why rsnapshot? ● Lightweight application: ● Easy configuration ● More sophisticated than a DIY solution ● Less sophisticated than BackupPC ● Near­CDP better for real­world scenarios  Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 16. 16 What is rsnapshot made from? ● Uses commonly used components of any GNU/ POSIX system: ● Perl ● rsync ● File system “hard links” ● logrotate ● Standard GNU/POSIX commands  ● Open SSH (if you want remote) Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 17. 17 The Theory ● Create a “snapshot” of your files with rsync ● On subsequent runs use rsync to hard link files  between the previous run and the current run ● Use logrotate to shuffle the snapshot stack  deleting the oldest in the stack ● snapshot.0 is always the newest, each  additional snapshot.n+1 is one snapshot older http://www.mikerubel.org/computers/rsync_snapshots/ Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 18. 18 Snapshots snap.0 snap.1 snap.2 snap.3 0 example.file example.file example.file 1 example.file example.file example.file 2 example.file example.file 3 example.file Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 19. 19 Installation ● Is in the common repositories, for example on  Debian: ● $ sudo aptitude install rnsapshot ● Or download directly from www.rsnapshot.org ● You will need rsync, perl and logrotate as a  minimum Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 20. 20 Configuration ● Everything is configured by default from a single  text configuration file and one cron.d file: ● /etc/rsnapshot.conf ● /etc/cron.d/rsnapshot ● Additional configuration files can be created for  specific purposes ● Additional filter rules can be created to configure  includes & excludes for rsync Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 21. 21 /etc/rsnapshot.conf ● The Debian package defaults are pretty good  and should work out of the box ● Format is simple key value settings: ● Keys are separated from values by tabs NOT spaces ● Directories must end with trailing slash Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 22. 22 Snapshot Root Directory ########################### # SNAPSHOT ROOT DIRECTORY # ########################### # All snapshots will be stored under this root directory. # snapshot_root /srv/snapshots/ # If no_create_root is enabled, rsnapshot will not automatically # create the snapshot_root directory. This is particularly useful # if you are backing up to removable media, such as a FireWire # or USB drive. # no_create_root 0 Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 23. 23 External Program Dependencies # LINUX USERS: Be sure to uncomment quot;cmd_cpquot;. This gives you # extra features. # cmd_cp /bin/cp # Uncomment this to specify the path to rsnapshot-diff. # cmd_rsnapshot_diff /usr/bin/rsnapshot-diff # Specify the path to a script (and any optional arguments) to # run right before rsnapshot syncs files # cmd_preexec /etc/cron.daily/50-svn-hotcopy # Specify the path to a script (and any optional arguments) to # run right after rsnapshot syncs files # #cmd_postexec /path/to/postexec/script Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 24. 24 Backup Interval ######################################### # BACKUP INTERVALS # # Must be unique and in ascending order # # i.e. hourly, daily, weekly, etc. # ######################################### interval hourly 8 interval daily 7 interval weekly 6 #interval monthly 3 Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 25. 25 Backup Points ############################### ### BACKUP POINTS / SCRIPTS ### ############################### # Lapin-Bleu backup /home/ lapin-bleu/ backup /etc/ lapin-bleu/ backup /usr/local/ lapin-bleu/ backup /srv/www/ lapin-bleu/ backup /srv/archive/subversion lapin-bleu/ # Wombat backup root@wombat:/home/ wombat/ backup root@wombat:/etc/ wombat/ # Fennec backup root@fennec:/home/ fennec/ backup root@fennec:/etc/ fennec/ Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 26. 26 /etc/cron.d/rsnapshot # This is a sample cron file for rsnapshot. # The values used correspond to the examples in /etc/rsnapshot.conf. # There you can also set the backup points and many other things. # # To activate this cron file you have to uncomment the lines below. # Feel free to adapt it to your needs. # #Min Hour DoM Month DoW who command 01 6,12,18-23 * * * root /usr/bin/rsnapshot hourly 15 20 * * * root /usr/bin/rsnapshot daily 25 20 * * 1 root /usr/bin/rsnapshot weekly #30 2 1 * * root /usr/bin/rsnapshot monthly Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 27. 27 /root/.ssh/config Host wombat Hostname wombat.iredale.net user root BatchMode yes IdentityFile /root/.ssh/rsnapshot.id_rsa Host fennec Hostname fennec.iredale.net user root BatchMode yes IdentityFile /root/.ssh/rsnapshot.id_rsa Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 28. 28 /root/.ssh/authorized_keys no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no- pty,command=quot;/root/rsnapshotquot; ssh-rsa AAAAB...== root@lapin-bleu #!/bin/dash #/root/rsnaphot if [ quot;$SSH_ORIGINAL_COMMANDquot; = 'rsync --server --sender -logDtprCRSe.iL --numeric-ids . /home' ] then eval $SSH_ORIGINAL_COMMAND elif [ quot;$SSH_ORIGINAL_COMMANDquot; = 'rsync --server --sender -logDtprCRSe.iL --numeric-ids . /etc' ] then eval $SSH_ORIGINAL_COMMAND else exit 0 fi Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 29. 29 What does it look like? /srv/snapshots drwxr-xr-x 5 root root 49 2008-07-30 21:01 weekly.5 drwxr-xr-x 5 root root 49 2008-08-11 21:01 weekly.4 drwxr-xr-x 5 root root 49 2008-08-15 21:01 weekly.3 drwxr-xr-x 5 root root 49 2008-09-08 21:01 weekly.2 drwxr-xr-x 5 root root 49 2008-09-15 21:01 weekly.1 drwxr-xr-x 5 root root 49 2008-09-22 21:02 weekly.0 drwxr-xr-x 5 root root 49 2008-09-25 21:01 daily.6 drwxr-xr-x 5 root root 49 2008-09-26 21:01 daily.5 drwxr-xr-x 5 root root 49 2008-09-27 21:01 daily.4 drwxr-xr-x 5 root root 49 2008-09-28 21:01 daily.3 drwxr-xr-x 5 root root 49 2008-09-29 21:01 daily.2 drwxr-xr-x 5 root root 49 2008-09-30 21:01 daily.1 drwxr-xr-x 5 root root 49 2008-10-01 21:01 daily.0 drwxr-xr-x 5 root root 49 2008-10-02 19:02 hourly.7 drwxr-xr-x 5 root root 49 2008-10-02 20:01 hourly.6 drwxr-xr-x 5 root root 49 2008-10-02 21:01 hourly.5 drwxr-xr-x 5 root root 49 2008-10-02 22:01 hourly.4 drwxr-xr-x 5 root root 49 2008-10-02 23:01 hourly.3 drwxr-xr-x 5 root root 49 2008-10-03 06:01 hourly.2 drwxr-xr-x 5 root root 49 2008-10-03 12:01 hourly.1 drwxr-xr-x 5 root root 49 2008-10-03 18:01 hourly.0 Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 30. 30 References ● Rsnapshot site: ● http://www.rsnapshot.org/ ● Rsnapshot articles: ● http://www.debian- administration.org/articles/217 ● Backup and Recovery by W. C. Preston: ● http://www.backupcentral.com/ ● http://oreilly.com/catalog/9780596102463/ Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 31. 31 My Slide & Talk Resources  ● http://www.iredale.net/p/by-type/talk/ ● http://www.hants.lug.org.uk/cgi-bin/wiki.pl?TechTalks ● http://www.slideshare.net/drajt/ Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.
  • 32. 32 Thank You Any  Questions? Version 1.0.0 © Adam Trickett September 2008 Distributed under a creative commons Attribution­NonCommercial­ShareAlike licence.