Service/backup: Difference between revisions

No edit summary
No edit summary
Line 5: Line 5:
* /backup on sunjammer.sugarlabs.org (for sunjammer databases: ldap, mysql and pgsql)
* /backup on sunjammer.sugarlabs.org (for sunjammer databases: ldap, mysql and pgsql)


== backup.sugarlabs.org ==
== Administrative contact ==
 
bernie AT sugarlabs DOT org


This is the main backup server for all [[Machine|Sugarlabs Machines]]
== Sysadmins ==


Backup account: sugarbackup@backup.sugarlabs.org:/home/sugarbackup/
For non-emergency calls, preferably send email to the administrative contact.


(backup.sugarlabs.org is an alias for owl.laptop.org)
* [[User:Bernie|Bernie Innocenti]]
* Ed McNierney @ OLPC (local access)


== Sunjammer ==
== backup.sugarlabs.org ==


[[Machine/sunjammer]]'s filesystem is being backed up on [[Machine/treehouse]] using rsync + 7 days of history with hard links.
This is the main backup server for all [[Machine|Sugarlabs Machines]].


The MySQL, PostgreSQL and LDAP databases are being backed up daily on backup.sugarlabs.org, encrypted with gpg. TODO: at the moment, we don't have a script to cleanup old backups.
Backup account:


== Administrative contact ==
sugarbackup@backup.sugarlabs.org:/home/sugarbackup/


bernie AT sugarlabs DOT org
(backup.sugarlabs.org is an alias for owl.laptop.org)


We use the script system-full-backup to perform the daily backups with duplicity. Each machine backup is encrypted with a different password. If you need a password, ask [[User:Bernie]].


== Sysadmins ==
== Sunjammer ==


For non-emergency calls, preferably send email to the administrative contact.
[[Machine/sunjammer]]'s filesystem is being backed up on [[Machine/treehouse]] using rsync + 7 days of history with hard links.


* [[User:Bernie|Bernie Innocenti]]
The MySQL, PostgreSQL and LDAP databases are being backed up daily on backup.sugarlabs.org, encrypted with gpg. TODO: at the moment, we don't have a script to cleanup old backups.
* Ed McNierney @ OLPC (local access)


== Restore Backups ==
== Restoring files from duplicity backups ==


To restore a backup try something like:
To restore a backup try something like:
Line 46: Line 49:


the --restore-time is a workaround for a bug in duplicity when restoring backups in the past
the --restore-time is a workaround for a bug in duplicity when restoring backups in the past
== Notes ==
== Upgrade notes ==




== See Also ==
== See Also ==


* There are instructions on how to set up a backup here: http://wiki.sugarlabs.org/go/Infrastructure_Team/Template_virtual_machine_lucid
* There are instructions on how to set up a backup here: [[Infrastructure_Team/Template_virtual_machine_lucid]]


[[Category:Service|zzz]]
[[Category:Service|zzz]]