Difference between revisions of "Sugar on a Stick/deja-dup"

From Sugar Labs
Jump to navigation Jump to search
Line 1: Line 1:
 +
<noinclude>{{TOCright}}
 +
</noinclude>
 +
 
==Deja-dup Backup==
 
==Deja-dup Backup==
  
'''deja-dup is a nice way to graphically backup your soas live USB/SD'''
+
'''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
+
[https://launchpad.net/deja-dup 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
+
'right way' (encrypted, off-site, and regular) and uses [[wikipedia:Duplicity_(software)|Duplicity_(software)]] as the backend.
backend.
 
  
 
Features:
 
Features:
Support for local or remote backup locations, including Amazon S3
+
* Support for local or remote backup locations, including Amazon S3
Securely encrypts and compresses your data
+
* Securely encrypts and compresses your data
Incrementally backs up, letting you restore from any particular backup
+
* Incrementally backs up, letting you restore from any particular backup
Schedules regular backups
+
* Schedules regular backups
Integrates well into your GNOME desktop
+
* Integrates well into your GNOME desktop
  
 
===Installation===
 
===Installation===
  
PC running from booted soas v3 Mirabelle USB:
+
From a computer booted from SoaS Mirabelle,
  
In sugar-terminal:
+
In the Terminal Activity, first switch users to the root user,
su
+
{{Code|su}}
yum install duplicity deja-dup
+
Then install the software,
 +
{{Code|yum install duplicity deja-dup}}
  
===How to USE to Backup Your Soas v3 Mirabelle USB===
+
===How back up your Soas Mirabelle installation===
  
PC running from booted soas v3 Mirabelle USB:
+
* Insert a 2nd USB storage device (formatted fat32)
*Insert 2nd USB (formatted fat32)
+
* In the Terminal Activity
*sugar-terminal
+
*: {{Code|deja-dup}}
deja-dup
+
* Graphical application starts
*Graphical Application starts
 
  
 
====Initial Configuration====
 
====Initial Configuration====
*edit/Preferences (on top bar of window)
+
* edit/Preferences (on top bar of window)
*Backup location: other / places /<your 2nd usb> <open> (scroll up to find your 2nd USB)
+
* Backup location: other / places /<your 2nd USB device> <open> (scroll up to find your device)
*Include files in folders ( Home folder is selected) /Add / File system /mnt/live/ <Open>
+
* Include files in folders ( Home folder is selected) /Add / File system /mnt/live/ <Open>
*Close
+
* Close
  
 
====Backup====
 
====Backup====
*sugar-terminal
+
* in the Terminal (as the default liveuser account)
(not root)
+
*: {{Code|deja-dup}}
deja-dup
+
* Graphical application starts
*Graphical Application starts
+
* '''Backup'''
*'''Backup'''
 
 
 
  
====Restore to new replacement Soas live USB====
+
====Restore to a new replacement SoaS live USB device====
  
* In sugar-terminal:
+
* In the Terminal Activity
su
+
*: {{Code|su}}
yum install duplicity deja-dup
+
*: {{Code|yum install duplicity deja-dup}}
* repeat Initial configuration (listed above)
+
* Repeat initial configuration (listed above)
*Insert 2nd usb with backup done previously
+
* Insert 2nd USB device with backup done previously
*sugar-terminal
+
* In Terminal
deja-dup
+
*: {{Code|deja-dup}}
*Graphical Application starts
+
* Graphical application starts
*'''Restore'''
+
* '''Restore'''
  
 
===Notes===
 
===Notes===
* '''Use a dedicated USB for Backups''' for EACH Live USB you are working with
+
* '''Use a dedicated USB device for Backups''' for EACH Live USB device you are working with.
* Keep and mark them in pairs
+
* Keep and mark them in pairs.
  
 
* Backs up and restores
 
* Backs up and restores
Line 68: Line 68:
 
     OSmin.img Squashfs.img files
 
     OSmin.img Squashfs.img files
  
* Does Not backup journal
+
* Does Not back up the Sugar Journal
  
* Use the same soas.iso to make a replacement USB for Restore
+
* Use the same soas.iso to make a replacement USB device for Restoration.
  
* '''Can be sugarized ''' [http://wiki.sugarlabs.org/go/Talk:Sugar_on_a_Stick/Installation/Variations#How_To_Sugarize_liveusb-creator] so it will appear as an installed application in the f3 ring of Mirabelle
+
* '''Can be sugarized ''' [[Talk:Sugar_on_a_Stick/Installation/Variations#How_To_Sugarize_liveusb-creator]] so it will appear as an installed application in the Home view of Mirabelle.
  
* SugarClone [http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Sugar_Clone][http://people.sugarlabs.org/fgrose/SugarClone] will duplicate a sugarized installation
+
* Sugar Clone, [[Sugar on a Stick/Sugar Clone]], will duplicate a live SoaS installation.
  
 
===References===
 
===References===
  
https://launchpad.net/deja-dup
+
http://launchpad.net/deja-dup

Revision as of 11:37, 17 May 2010


Deja-dup Backup

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_(software) 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

From a computer booted from SoaS Mirabelle,

In the Terminal Activity, first switch users to the root user, su Then install the software, yum install duplicity deja-dup

How back up your Soas Mirabelle 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) /Add / File system /mnt/live/ <Open>
  • 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