Producing Bad Dumps
martin at dc.cis.okstate.edu
Fri May 29 17:17:46 UTC 2009
Jerry McAllister writes:
> Probably you did not want the -x or -u, but instead wanted to do
> cd /MOUNTED_EMPTY_PARTITION
> restore -rf DUMPFILENAME
That would be the ideal command. Per haps there is a
better approach so I am all ears as the saying goes.
I am trying to set up a procedure so that we can take
another server, if necessary, format the drive with FreeBSD and
then restore the contents of a dead server to this drive and
have it ready to run.
Of course, dd is great if both drives are the same size
but usually, the only thing both servers have in common is they
are both i86 systems and the goal is to try to get a platform
with a melted hard drive or mother board back on line. The holy
grail is a clone operation that can be documented so that a
worker of reasonable knowledge can do it successfully.
So, you need all the files, but they probably will not
occupy a disk that looks like the original one. In that respect,
tar does well but trashes special files like /dev
> But, I am not sure because it is hard to understand why you chose -xu.
The thought was that -u unlinks existing files so one
could write the restore right over the minimal system that was
there. -x was to extract / in order to get the entire root file
Again, the idea is to recover a FreeBSD system as
quickly as possible and get it back to the patch level and
general operating conditions it was originally in before the
hardware that supported it died.
Again, many thanks.
More information about the freebsd-questions