SimpleBackupSolution

Differences between revisions 12 and 13
Revision 12 as of 2005-07-08 17:15:54
Size: 2333
Editor: pool-151-197-40-157
Comment:
Revision 13 as of 2005-07-21 09:41:13
Size: 3879
Editor: 159
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
 * People: FabioDiNittoLead, JamesTroupSecond  * People: FabioDiNittoLead, JamesTroupSecond, AigarsMahinovs
Line 24: Line 24:
A Simple Backup Solution for Ubuntu should comprise of ''snapshot'' functionality – to restore to the last known good configuration. A Simple Backup Solution for Ubuntu should comprise of ''snapshot'' functionality – to restore to the last known good configuration of a single file, directory or a directory tree.
Line 38: Line 38:
 * Matt accidentaly deleted his quaterly report and wants to get it back as new as possible

 * Pete deleted some very important piece of text from the product description document on Tuesday, he wants to get a copy of this document from Monday's backup to copy that text into the current version
Line 40: Line 44:
 * Daily incremental backup of /etc.  * user can configure a backup solution for his files
Line 42: Line 46:
 * Define a possible set of sane directories to backup if the user clicks on "backup now!" and where to store the backup.  - Recommended config or Custom config, Size requirements estimation

 - Includes: directory selection with default of the whole home directory ( system defaults to /etc, /opt, /usr/local, /var )

 - Excludes: checkboxes for common dirs and file types + textbox for regexes + maxfilesize (default to exclude ~/backup subdir, all media files (avi,mp3,wav,ogg,mpg) + all files >100 Mb, system level also excludes /var/backup)

 - Format: format selection and compression level selector (default: individual gzip level 9)

 - Destination: local dir, remote ssh session (default: ~/backup or /var/backup/)

 - Time: frequency (hourly, dayly, ...), type (full, incr), how long to store, timepoint (default: weekly full backup & daily incremental)

 * user can see how much disk space the backup will take

 * user can switch to admin mode

 * admin can configure backup solution for all users

 * package list is backuped

 * if admin allows this, users backup preferences override admins instructions

Note: incremental here means 'backup all files that have been changed
(mtime) since the last backup'. diffs are not involved, as that would
create a lot of complication for remote backup and lots of disc usage
for the local ones.
Line 56: Line 85:
 * We need to develop a GUI for the backend.  * GUI to configure the regular backups
 * GUI to recover files/directories

SimpleBackupSolution

Status

Introduction

A Simple Backup Solution for Ubuntu should comprise of snapshot functionality – to restore to the last known good configuration of a single file, directory or a directory tree.

Rationale

User expects from their favorite OS the possibility to perform some sane and simple backups of their system.

Scope and Use Cases

  • James Troup's laptop has been stolen, he wants his data back.
  • HELP! my laptop is on fire! I must restore my music files somewhere else!
  • Hey somebody on #ubuntu told me to run sudo rm / -rf and now nothing works.
  • Matt accidentaly deleted his quaterly report and wants to get it back as new as possible
  • Pete deleted some very important piece of text from the product description document on Tuesday, he wants to get a copy of this document from Monday's backup to copy that text into the current version

Implementation Plan

  • user can configure a backup solution for his files - Recommended config or Custom config, Size requirements estimation - Includes: directory selection with default of the whole home directory ( system defaults to /etc, /opt, /usr/local, /var )

    - Excludes: checkboxes for common dirs and file types + textbox for regexes + maxfilesize (default to exclude ~/backup subdir, all media files (avi,mp3,wav,ogg,mpg) + all files >100 Mb, system level also excludes /var/backup) - Format: format selection and compression level selector (default: individual gzip level 9) - Destination: local dir, remote ssh session (default: ~/backup or /var/backup/)

    - Time: frequency (hourly, dayly, ...), type (full, incr), how long to store, timepoint (default: weekly full backup & daily incremental)

  • user can see how much disk space the backup will take
  • user can switch to admin mode
  • admin can configure backup solution for all users
  • package list is backuped
  • if admin allows this, users backup preferences override admins instructions

Note: incremental here means 'backup all files that have been changed (mtime) since the last backup'. diffs are not involved, as that would create a lot of complication for remote backup and lots of disc usage for the local ones.

  • Investigate dar as possible backend for multicd/dvd backups and can use other several kind of storage devices.

Data Preservation and Migration

None

Packages Affected

None

User Interface Requirements

  • GUI to configure the regular backups
  • GUI to recover files/directories

Outstanding Issues

  • dar cmd-line is complex.
  • During the BOF session, discussed system-level snapshoting as being the only way that could allow rollback and keep a consistent system, meaning at the whole filesystem is in sync with the contents of /etc. Looked at dm-snapshot target. If this can be made to work without wasting excessive amounts of space (eg, too many extra partitions) then this would be the ultimate foo, meaning that somebody could upgrade to Hoary, click 'rollback' and have their system come back exactly as it was 24hours early. This would require alot of investigate but maybe something is worth following up as a unique selling point.

UDU BOF Agenda

UDU Pre-Work

UbuntuDownUnder/BOFs/SimpleBackupSolution (last edited 2008-08-06 16:32:56 by localhost)