| 43 | |
| 44 | == Manual restoration == |
| 45 | |
| 46 | In 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 | |
| 48 | A 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 | |
| 50 | A 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 | |
| 56 | Locate the wanted files in /cdrom/archive/filelist.* |
| 57 | If you want to find the file fstab: |
| 58 | {{{ |
| 59 | # grep fstab /cdrom/archives/filelist.* |
| 60 | }}} |
| 61 | That might return something like this: |
| 62 | {{{ |
| 63 | /cdrom/archives/filelist.13:/etc/fstab |
| 64 | }}} |
| 65 | Once you know which number has your wanted files: |
| 66 | {{{ |
| 67 | mkdir /tmp/mondoextract ; cd /tmp/mondoextract |
| 68 | cat /cdrom/archives/13.afio.lzo | cpio -idvm --verbose |
| 69 | }}} |
| 70 | If you used bzip2 instead of lzo, then unpack with: |
| 71 | {{{ |
| 72 | afio -ZP bzip2 -i /cdrom/archives/13.afio.bz2 |
| 73 | }}} |