Sugar on a Stick/deja-dup

From Sugar Labs
Jump to navigation Jump to search

Deja-dup Backup

deja-dup is a nice way to graphically backup your soas live USB/SD


Déjà Dup is a simple backup tool. It hides the complexity of doing backups the 'right way' (encrypted, off-site, and regular) and uses duplicity as the backend.

Features:

• Support for local or remote backup locations, including Amazon S3
• Securely encrypts and compresses your data
• Incrementally backs up, letting you restore from any particular backup
• Schedules regular backups
• Integrates well into your GNOME desktop

Installation

PC running from booted soas v3 Mirabelle USB:

In sugar-terminal:

su
yum install duplicity deja-dup

How to USE to Backup Your Soas v3 Mirabelle USB

PC running from booted soas v3 Mirabelle USB:

  • Insert 2nd USB (formatted fat32)
  • sugar-terminal
deja-dup
  • Graphical Application starts

Initial Configuration

  • edit/Preferences (on top bar of window)
  • Backup location: other / places /<your 2nd usb> <open> (scroll up to find your 2nd USB)
  • Include files in folders ( Home folder is selected) /Add / File system /mnt/live/ <Open>
  • Close

Backup

  • sugar-terminal

(not root)

deja-dup
  • Graphical Application starts
  • Backup


Restore to new Soas live USB

  • In sugar-terminal:
su
yum install duplicity deja-dup
  • repeat Initial configuration (listed above)
  • Insert 2nd usb with backup done previosly
  • sugar-terminal
deja-dup
  • Graphical Application starts
  • Restore

Notes

  • Use a dedicated USB for Backups for EACH Live USB you are working with
  • Keep and mark them in pairs
  • Backs up and restores
/usr/share/sugar/activities
/home/liveuser/Activities
liveOS and syslinux directories
  (Overlay-live-xxx (persistence)
   OSmin.img Squashfs.img files
  • Does Not backup journal
  • Can be sugarized [1] so it will appear as an installed application in the f3 ring of Mirabelle
  • SugarClone [2] will duplicate a sugarized installation

References

https://launchpad.net/deja-dup