|
Re: Bare Metal Restore?: msg#00235sysutils.backup.backuppc.general
On Thu, 26 Aug 2004 07:02, Les Mikesell wrote: > I did it long ago with RH and don't have exact details but something > like this should work: <snip> Les' method will work. Another way to do it is to open a port on the backup server using inetd which runs the command to dump the tar archive out (BackupPC_tarCreate) with the appropriate flags. I use something like: BackupPC_tarCreate -h hostname -n dumpnum -s sharename / The inetd line will look something like: 5000 stream tcp nowait root /usr/bin/backuppc_restore.sh Advantages: * Speed - it's faster than using ssh * Easy - you can use a basic rescue disk that doesn't have ssh. Although knoppix is readily available and everyone should have a copy (IMO) Disadvantages: * All files go across the network in clear text (but they do anyway if you're using rsyncd) * Someone else could suck the backup out as well, unless you disable the port or delete the script once the backup's started (Deleting the script wont stop the current backup but will not allow any more to start) My method for a bare metal restore then is: * Boot with the rescue disk of your choice * Partition the hard disk so that either the labels or the drive letters match (easiest - if not you'll just have to edit /etc/fstab later) * create a temporary directory and mount / there * create all mount points and mount respective partitions there * connect to the backuppc server port to restore the dump. e.g.: nc backupserver 5000 | tar xv * Create all the folders that weren't backed up by the backup server, e.g. I don't backup /proc or /tmp and set the correct permissions * chroot to the temporary folder * edit /etc/fstab if necessary * /sbin/lilo * exit the chroot, unmount all partitions and reboot As I said before, Les' solution will work, and the use of ssh is recommended if you don't trust your network. You should however be able to do the full bare-metal restore with only one boot off cd and one boot off hard disk. And now you have two methods of bare-metal restore ;) Regards, Josh. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ BackupPC-users mailing list BackupPC-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Bare Metal Restore?: 00235, Les Mikesell |
|---|---|
| Next by Date: | Child exited prematurely: 00235, Mark Berntheisel |
| Previous by Thread: | Re: Bare Metal Restore?i: 00235, Les Mikesell |
| Next by Thread: | Re: Bare Metal Restore?: 00235, Les Mikesell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |