Talk:Sugar on a Stick/deja-dup

From Sugar Labs
Jump to navigation Jump to search


Deja-dup Backup soas-v2-Blueberry

PRELIMINARY

Déjà Dup provides a nice graphical interface for backing up your SoaS live USB/SD installation


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

  • Boot Blueberry CD
  • Download rpm :
sugar-terminal:
su
wget http://sundaram.fedorapeople.org/packages/deja-dup-11.1-1.fc12.i686.rpm
yum install duplicity libnautilus=extension.so.1
(insert 8GB USB fat 32)
zyx-liveinstaller
 partitioner
 /boot ext4 200
 /     ext4 7000
 exit partitioner (X) at top of window
 -> continue
 pick root
 pick boot
 skip swap
 INSTALL STARTS
 Completed
  • shut down running Blueberry CD
  • Boot USB
sugar-terminal:
su
rpm -Uvh deja-dup-11.1-1.fc12.i686.rpm

How back up your soas-v2-Blueberry installation

  • Insert a 2nd USB storage device (formatted fat32)
  • In the Terminal Activity
    deja-dup
  • Graphical application starts

Initial Configuration

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

Backup

  • in the Terminal (as the default liveuser account)
    deja-dup
  • Graphical application starts
  • Backup

Restore to a new replacement SoaS live USB device

  • In the Terminal Activity
    su
    yum install duplicity deja-dup
  • Repeat initial configuration (listed above)
  • Insert 2nd USB device with backup done previously
  • In Terminal
    deja-dup
  • Graphical application starts
  • Restore

Notes

  • Use a dedicated USB device for Backups for EACH Live USB device 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 back up the Sugar Journal
  • Use the same soas.iso to make a replacement USB device for Restoration.

References

http://launchpad.net/deja-dup