Features/Backup and Restore: Difference between revisions
No edit summary |
No edit summary |
||
| Line 21: | Line 21: | ||
== Owner == | == Owner == | ||
* | * Feature request: [[User:Gregorio|Greg Smith]] | ||
* Implementation: [[User:tch|Martin Abente]] | |||
* | |||
== Current status == | == Current status == | ||
* Targeted release: | * Targeted release: 0.88 ([[Dextrose]]) | ||
* Last updated: | * Last updated: Oct 08, 2010 | ||
* Percentage of completion: | * Percentage of completion: 50% | ||
== Detailed Description == | == Detailed Description == | ||
| Line 36: | Line 35: | ||
* Allow time based backup and restore of the journal. Check for Journal changes on the Sugar computer. Copy any changes to the server on a regular basis. Stagger the copies so that not all Sugar computers backup at the same time. See implementation of this with XO and XS at: http://wiki.laptop.org/go/XS_Blueprints:Datastore_Simple_Backup_and_Restore | * Allow time based backup and restore of the journal. Check for Journal changes on the Sugar computer. Copy any changes to the server on a regular basis. Stagger the copies so that not all Sugar computers backup at the same time. See implementation of this with XO and XS at: http://wiki.laptop.org/go/XS_Blueprints:Datastore_Simple_Backup_and_Restore | ||
* Provide a | * Provide a GUI to restore all backed up journal entries | ||
* Provide | * '''TODO:''' Provide an interface to restore one backed up journal entry. The user would boot up any Sugar implementation (user name/password based security is also important) and point their Web browser at a URL on the server. Preferable to automatically take you to the right page (aka the page where your particular Sugar instance is backed up) but would also accept seeing a list of Sugar Journals by user name and picking the right one. Clicking on a single Journal entry or on a link for "full journal" would download those items back in to the journal of the Sugar computer. | ||
* | * Provide a user initiated backup of the journal. Same case as above for restore. | ||
* | * '''TODO:''' Backup and restore of full sugar instance. Same as above (AKA user initiated and time based server/script) but for the full Sugar instance. This can be only the full instance and does not need to list individual files. For restoring SoaS should support booting up with a USB stick, going to the page, then removing the USB stick and inserting a new one, then clicking restore. This would copy the full Sugar instance to the new USB stick. This would now be a clone of the original USB stick. Also, implement a "clone" feature which allows the same work flow as above but without a server. That is, put a SoaS in a computer, copy it to the computer then restore it to a new USB stick with the full SoaS including configuration. | ||
* See also this bug in Sugar: http://dev.sugarlabs.org/ticket/75 and http://dev.sugarlabs.org/ticket/916 | * See also this bug in Sugar: http://dev.sugarlabs.org/ticket/75 and http://dev.sugarlabs.org/ticket/916 | ||
| Line 56: | Line 55: | ||
== How To Test == | == How To Test == | ||
Create some entries in a journal. Then test with: | Create some entries in a journal. Then test with: | ||
* | * Dextrose 1 or later and a single computer | ||
* | * Dextrose 1 or later with XS running 0.5 or later | ||
* '''TODO:''' Test backup and restore of a single journal entry | |||
* Test backup and restore of a single journal entry | * '''TODO:''' Test backup and restore of a full SoaS image. Make sure to use the SoaS so that it changes some files and configurations. | ||
* Test backup and restore of a full SoaS image. Make sure to use the SoaS so that it changes some files and configurations. | * Test time based backup, preferably with several computers. | ||
* Test time based backup, preferably with several | |||
In all cases, ensure that the files are backed up on the server and can be restored | In all cases, ensure that the files are backed up on the server and can be restored to the original computer. Make sure to open the files in the journal and run them. Also, make sure to cold boot any full images and confirm that changes were saved. | ||
== User Experience == | == User Experience == | ||
See screenshots | |||
== Dependencies == | == Dependencies == | ||
| Line 74: | Line 71: | ||
* See http://dev.sugarlabs.org/ticket/916 for changes to allow registering SoaS to a XS. | * See http://dev.sugarlabs.org/ticket/916 for changes to allow registering SoaS to a XS. | ||
* Also ds-backup-client package is required to backup to an XS along with a patch to allow it to work on SoaS in addition to an XO. | * Also ds-backup-client package is required to backup to an XS along with a patch to allow it to work on SoaS in addition to an XO. | ||
== Contingency Plan == | == Contingency Plan == | ||
None required. | |||
== Documentation == | == Documentation == | ||