BackupPC-users

Re: [BackupPC-users] bare metal restore?

2011-04-04 09:36:44
Subject: Re: [BackupPC-users] bare metal restore?
From: Carl Wilhelm Soderstrom <chrome AT real-time DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 4 Apr 2011 08:34:16 -0500
On 04/04 07:40 , Neal Becker wrote:
> Are there instructions for using backuppc for bare metal restore?

Probably somewhere. It's fairly straightforward tho.

Boot the bare-metal machine with Knoppix (or your choice of rescue disks).
Partition and format the drives.
Mount the partitions in the arrangement you want. (you'll have to make some
directories in order to have mount points).

Set up a listening netcat process to pipe to tar. will look something like:
netcat -l -p 8888|tar -xpv -C /path/to/mounted/empty/filesystems

on the BackupPC server, become the backuppc user
(Presuming it's a Debian box) run '/usr/share/backuppc/bin/BackupPC_tarCreate
-n <backup number> -h <hostname> -s <sharename> <path to files to be
restored> | netcat <bare-metal machine> 8888'

the 'backup number' can be '-1' for the most recent version.

An example of the BackupPC_tarCreate command might be:
/usr/share/backuppc/bin/BackupPC_tarCreate -n -1 -h target.example.com -s /
/ | netcat target.example.com 8888

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>