Version 1 (modified by Jamie McClelland, 11 years ago) (diff)


Restore a file from the backup

Only system administrators have access to backups.

See our user description of our backup process.

May 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).

The target servers for each backup is defined in our 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.

The rdiff backups are incremental, going back five days.

You can restore an rdiff backup by ssh'ing into the backp server and running:

rdiff-backup /home/members/mayfirst/backups/SERVER/rdiff-backup-data/increments/PATH/TO/FILE.DATE /path/to/restore