On 2007-02-27 22:34, Byarlay, Wayne A. wrote: > So, I have this machine which had all its filesystems being backed up by > AMANDA, and the /dev/sda died. > > Is there a method I can use to boot from, say, Ubuntu, or knoppix, or > some other CD-based OS, run the AMANDA client, connect to the server > where the latest backups reside, and basically rebuild this machine with > only one /dev/sda?
Basically: Install a new hard disk. Boot with your bootable CD, partition it, and make the filesystems (mke2fs etc.) Then mount the new empty partitions somewhere, e.g. root under /mnt/, var under /mnt/var, boot under /mnt/boot etc... Now is the time to restore from the amanda backups. Depending on where the backup images are you get several possibilities: The could be on a local tape drive, on a tape drive connected to another machine, on an external harddisk, etc. The CD-distro you choose can also have some amanda-client programs like amrecover or amrestore, which could help, but they are not needed either. For an overview of the different possibilities, see: http://wiki.zmanda.com/index.php/Restoring_files For each backup image, cd to the mountpoint and restore the full+incrementals: e.g. the backup of the /boot partition, cd to /mnt/boot. Then restore using amrecover, or some form of amrestore + pipe to gtar/restore. (see the above wiki) After restoring don't forget to make the boot partition bootable. When using lilo, run "chroot /mnt; lilo" (google around if you need some more instructions here). -- Paul Bijnens, xplanation Technology Services Tel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *********************************************************************** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, ^^, * * F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * * ... "Are you sure?" ... YES ... Phew ... I'm out * ***********************************************************************
