Changes between Version 4 and Version 5 of Documentation


Ignore:
Timestamp:
Mar 15, 2010, 1:32:34 PM (10 years ago)
Author:
bruno
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation

    v4 v5  
    4141
    4242Of course, those scripts could make more dynamic requests to improve the resulting deployment.
     43
     44== Manual restoration ==
     45
     46In the case of a problem during restoration, you have to know that your data are stored in an open format so that you can lways have access to them.
     47
     48A first way to do it is to use the mondorestore command manually on a system where it is installed, and point it to the media containing you data, and then interactively select the files you want to restore in the tree displayed and the place in which mondorestore will re-create them.
     49
     50A second even more manual way to do it, is to mount your media (if not tape) and extract from it with afio the content you want to restore. A quick howto would be:
     51{{{
     52# mount /dev/hdb /cdrom
     53}}}
     54(or if you have the iso-image you use: mount -o loop mondo.iso /cdrom)
     55
     56Locate the wanted files in /cdrom/archive/filelist.*
     57If you want to find the file fstab:
     58{{{
     59# grep fstab /cdrom/archives/filelist.*
     60}}}
     61That might return something like this:
     62{{{
     63    /cdrom/archives/filelist.13:/etc/fstab
     64}}}
     65Once you know which number has your wanted files:
     66{{{
     67mkdir /tmp/mondoextract ; cd /tmp/mondoextract
     68cat /cdrom/archives/13.afio.lzo | cpio -idvm --verbose
     69}}}
     70If you used bzip2 instead of lzo, then unpack with:
     71{{{
     72afio -ZP bzip2 -i /cdrom/archives/13.afio.bz2
     73}}}