Service/backup: Difference between revisions

No edit summary
Tag: visualeditor-switched
remove references to duplicity
Tag: visualeditor-switched
Line 35: Line 35:


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.
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.
== Restoring files from duplicity backups (OBSOLETE) ==
'''We no longer use Duplicity.'''
To restore a backup try something like:
  duplicity restore -t 7D --file-to-restore <source/path/to/restore/from>  scp://sugarbackup@backup.sugarlabs.org/backup/<machine.sugarlabs.org>  </destination/path/to/restore/to>
Example:
  duplicity restore -t 7D --file-to-restore var/lib/mysql/wordpress  scp://sugarbackup@backup.sugarlabs.org/backup/sunjammer.sugarlabs.org  /home/bernie/restore/wordpress


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