XS Backup and Disaster Recovery: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:
=== Installing Mondo Rescue ===
=== Installing Mondo Rescue ===


# Download the RPM's for Mondo Rescue here: http://mondorescue.muskokamug.org/fedora/7/ . You need the RPM's for afio, buffer, mindi, mindi-busybox, and mondo
# Download the Fedora Core 7 RPM's for Mondo Rescue here: http://mondorescue.muskokamug.org/fedora/7/ . You need the RPM's for afio, buffer, mindi, mindi-busybox, and mondo
# Install them using rpm, note you should put mindi-busybox before mindi
# Install them using rpm, note you should put mindi-busybox before mindi
rpm -ivh afio....rpm buffer...rpm mindi-busybox...rpm mindi...rpm mondo...rpm
rpm -ivh afio....rpm buffer...rpm mindi-busybox...rpm mindi...rpm mondo...rpm
# You're done!
# You're done!


=== Using Mondo Rescue to Backup the XS ===
=== Back up the XS ===


# Login as root
# Type
# Type ''bash# mondoarchive'' note: don't type sudo, mondoarchive doesn't like sudo
# Choose '''DVD''' if you are going to use DVD
# Select '''Maximum''' compression to ensure everything fits on your DVD
# Choose the DVD directory, '''/dev/scd0'''
# Backup Path '''/'''
# Exclude Paths, nothing for now, may want to exclude '''/library''' later as we will use this folder for storing user data
# Alert, Verify Backups? Choose '''Yes'''
# Alert - Is your kernel Sane? Choose '''Yes'''
# Proceed? '''Yes'''



=== Using LiveBackup to Restore the XS ===
=== Restore the XS ===


=== Backing up the XS Data ===
=== Backing up the XS Data ===

Revision as of 12:40, 16 March 2008

This page deals with Disaster Recovery for the School Server (XS) and does not deal with backup and disaster recovery for the XO's. There are some ideas for these issues on the Nepal:Redundancy page.

Goals

  1. The base XS can be restored by non-technical user w/out using the command-line and in less than 5 steps.
  2. The data on the XS can be backed up without Internet access (May not be feasible)
  3. Solution does not use backup tapes, zip drives, or other media that are expensive or other unavailable in countries like Nepal
  4. Backup software must be open-source

The obvious solution is to use a program that backs up all the system files to a liveCD or LiveDVD and back up the data separately. It would be easiest to back up the data directories in /var, /home, and /var/library across the network using rsync. However, this necessitates a working WAN/Internet connection.


Possibilities


Current Solution

The OLE Nepal team is focusing on Mondo Rescue and rsync for backing up the XS

Installing Mondo Rescue

  1. Download the Fedora Core 7 RPM's for Mondo Rescue here: http://mondorescue.muskokamug.org/fedora/7/ . You need the RPM's for afio, buffer, mindi, mindi-busybox, and mondo
  2. Install them using rpm, note you should put mindi-busybox before mindi
 rpm -ivh afio....rpm buffer...rpm mindi-busybox...rpm mindi...rpm mondo...rpm
  1. You're done!

Back up the XS

  1. Login as root
  2. Type bash# mondoarchive note: don't type sudo, mondoarchive doesn't like sudo
  3. Choose DVD if you are going to use DVD
  4. Select Maximum compression to ensure everything fits on your DVD
  5. Choose the DVD directory, /dev/scd0
  6. Backup Path /
  7. Exclude Paths, nothing for now, may want to exclude /library later as we will use this folder for storing user data
  8. Alert, Verify Backups? Choose Yes
  9. Alert - Is your kernel Sane? Choose Yes
  10. Proceed? Yes


Restore the XS

Backing up the XS Data

Restoring the XS Data