Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Service/backup
(view source)
Revision as of 12:11, 29 December 2011
149 bytes removed
,
12:11, 29 December 2011
no edit summary
Line 37:
Line 37:
To restore a backup try something like:
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>
+
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>
* Replace <> with your values
* Replace <> with your values
Line 44:
Line 44:
Example:
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
+
duplicity restore -t 7D --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
−
== See Also ==
== See Also ==
Bernie
Bureaucrats
,
Check users
,
Administrators
1,784
edits