Changes between Initial Version and Version 1 of restore_from_backup


Ignore:
Timestamp:
Dec 13, 2010, 4:58:55 PM (13 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • restore_from_backup

    v1 v1  
     1= Restore a file from the backup =
     2
     3Only system administrators have access to backups.
     4
     5See our [wiki:data_backup user description of our backup process].
     6
     7May First/People Link's backup is run using backupninja. Two backups are defined for every server - an rsync backup to an offsite server run via a shell script and an .rdiff backup to a server in the same colo. In addition, standard servers have a MySQL backup that creates a gzipped dump of every database in /usr/local/db-backup/sqldump (which is in turn included in the rsync and rdiff backups).
     8
     9The target servers for each backup is defined in our [browser:trunk/admin admin scripts]. Each defined server has a backup directory, which contains two symlinks. One that points to the rdiff backpu server and one that points to the rsync backup server.
     10
     11The rdiff backups are incremental, going back five days.
     12
     13You can restore an rdiff backup by ssh'ing into the backp server and running:
     14
     15{{{
     16rdiff-backup /home/members/mayfirst/backups/SERVER/rdiff-backup-data/increments/PATH/TO/FILE.DATE /path/to/restore
     17}}}