Difference between revisions of "Service/backup"
< Service
Jump to navigation
Jump to search
(First draft of backup documentation) |
|||
Line 1: | Line 1: | ||
+ | == Locations == | ||
+ | |||
+ | * owl.laptop.org / backup.sugarlabs.org () | ||
+ | * /backup on treehouse (for sunjammer) | ||
+ | * /backup on sunjamer | ||
+ | |||
+ | |||
== Hostnames == | == Hostnames == | ||
Revision as of 14:27, 18 January 2011
Locations
- owl.laptop.org / backup.sugarlabs.org ()
- /backup on treehouse (for sunjammer)
- /backup on sunjamer
Hostnames
Hosted on
owl.laptop.org Machine/owl
Administrative contact
bernie AT sugarlabs DOT org
Sysadmins
For non-emergency calls, preferably send email to the administrative contact.
Restore Backups
To restore a backup try something like:
duplicity restore -t 7D --restore-time <yyyy/mm/dd --file-to-restore <source/path/to/restore/from> scp://sugarbackup@backup.sugarlabs.org/backup/<machine.sugarlabs.org> </destination/path/to/restore/to>
- Replace <> with your values
Example:
duplicity restore -t 7D --restore-time 2000/01/01 --file-to-restore var/lib/mysql/wordpress scp://sugarbackup@backup.sugarlabs.org/backup/sunjammer.sugarlabs.org /home/bernie/restore/wordpress
the --restore-time is a workaround for a bug in duplicity when restoring backups in the past
Notes
This is the main backup server for all Sugarlabs Machines
Upgrade notes
See Also
- There are instructions on how to set up a backup here: http://wiki.sugarlabs.org/go/Infrastructure_Team/Template_virtual_machine_lucid