| 1 | = Restore a file from the backup = |
| 2 | |
| 3 | Only system administrators have access to backups. |
| 4 | |
| 5 | See our [wiki:data_backup user description of our backup process]. |
| 6 | |
| 7 | 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). |
| 8 | |
| 9 | The 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 | |
| 11 | The rdiff backups are incremental, going back five days. |
| 12 | |
| 13 | You can restore an rdiff backup by ssh'ing into the backp server and running: |
| 14 | |
| 15 | {{{ |
| 16 | rdiff-backup /home/members/mayfirst/backups/SERVER/rdiff-backup-data/increments/PATH/TO/FILE.DATE /path/to/restore |
| 17 | }}} |