Hi Conor,
using the -x option did not help at all. restore man pages say the file
sytem where the data restore is taking place should be pristine. so I guess
I can restore it to a different partition and have grub boot from that
partition.
My issue is how to simulate it in vmware. There should be posting surely for
this and will dig vmware site for the same.
thanks,
--Walter
On 1/11/07, Conor Daly <conor.daly_ilug at cod.homelinux.org> wrote:
>> On Thu, Jan 11, 2007 at 07:05:44AM +0530 or so it is rumoured hereabouts,
> Walter Faleiro thought:
> > Hi,
> > I am trying to have a DR plan for my linux system. Currently I have a
> > Installation with the partition structure of / and swap. So I have to
> take
> > only one dump of root.
> > Trying to duplicate the sytem, I setup and identical system under vmware
> and
> > copied the root.dump to the / of the vmware system. However I could not
> run
> > restore -rf root.dump successfully as it gave the warnings that most of
> the
> > files existed.
>> According to 'man restore':
>> -r Restore (rebuild) a file system. The target file system should
> be made pristine with mke2fs(8), mounted, and the user cd'd into
> the pristine file system before starting the restoration of the
> initial level 0 backup. If the level 0 restores successfully,
> the -r flag may be used to restore any necessary incremental
> backups on top of the level 0.
>> -x The named files are read from the given media. If a named file
> matches a directory whose contents are on the backup and the -h
> flag is not specified, the directory is recursively extracted.
> The owner, modification time, and mode are restored (if possi-
> ble). If no file argument is given, the root directory is
> extracted, which results in the entire content of the backup
> being extracted, unless the -h flag has been specified. See
> also the -X option below.
>> It looks to me like -x is the option you need.
>> OTOH, if you're looking for a full disaster recovery method, consider
> mondorescue ( http://www.mondorescue.org ) which generates a bootable
> archive that can rebuild your system from bare metal.
>> Conor
> --
> Conor Daly <conor.daly at cod.homelinux.org>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GCS/G/S/O d+(-) s:+ a+ C++(+) UL++++ US++ P>++ L+++>++++ E--- W++ !N
> PS+ PE Y+ PGP? tv(-) b+++(+) G e+++(*) h-- r+++ z++++
> ------END GEEK CODE BLOCK------
>http://www.geekcode.com/http://www.ebb.org/ungeek/> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!