close Warning: Can't synchronize with repository "(default)" (/usr/svn/silverfile does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 1 and Version 2 of administration/backup_method

Apr 10, 2009, 12:04:41 AM (14 years ago)



  • administration/backup_method

    v1 v2  
    1 [[Include(source:trunk/doc/administration/backup_method.txt, text/x-trac-wiki)]]
     1= !SilverFile Backup Methodology =
     3== Introduction ==
     4Data integrity is a key feature of the !SilverFile service.  To this end, we
     5propose a combination of backup methods to protect files/data from hardware
     6failure and user error. The following describes these methods:
     8== Disk Mirroring (RAID) ==
     9We are using two physical hard drives in a RAID mirror configuration (RAID 1). 
     10Data is replicated in real time between the two drives so that if one drive
     11fails data is still preserved on the other drive.  The RAID is created
     12during installation of the Ubuntu OS. 
     13[/projects/devsilverfile/wiki/servers/setup-condensed RAID Installation How-To]
     15 * '''RAID Monitoring''' [BR]
     16   Disk/RAID monitoring is done with mdadm.  Email alerts are sent if
     17   the RAID status is negative.
     18 * '''More Here'''
     20== Data Mirroring (Between separate servers) ==
     21Data is replicated to a backup server on an '''hourly''' basis via {{{rsync}}}. 
     22Whatever file composition is in the primary Silver File server becomes
     23reflected in the mirror in the backup Silver File server. 
     25== Incremental Backup ==
     26While the above methods for data preservation are useful to safeguard
     27against data loss due to hardware failure, they are not as useful
     28for protecting against loss due to user error.  For instance
     29if someone accidentally deletes a file or folder and is unable to
     30"undo" this, it is useful to be able to revert back to certain
     31backup points in order to retrieve the data.
     33We propose the following backup points.  All backup points will be at midnight. 
     34 * 1 Day (or midnight prior to current time)
     35 * 2 Day (or 2 midnights prior to current time)
     36 * 1 Week (or 7 midnights prior to current time)
     37 * 2 Week (or 14 midnights prior to current time)
     392 weeks will become the farthest point back to which we can revert.
     42=== Incremental Backup (Local) ===
     43[/projects/devsilverfile/wiki/administration/rdiff rdiff-backup]
     46=== Incremental Backup (Remote) ===
     47== Duplicity ==
     48[/projects/devsilverfile/wiki/administration/duplicity duplicity]
     50== s3cmd ==
     51S3cmd is part of s3tools, which are a group of tools for interacting with the
     52Amazon S3. 
     54yum install s3cmd
     55s3cmd --configure
     58Create a new S3 bucket with s3cmd:
     60s3cmd mb s3://herron-steele/
     63List all buckets in S3 account:
     65s3cmd ls