Re: How to restore rsync backup?

"J. Marsden DeLapp" <[email protected]> Tue, 22 Sep 2009 02:20:26 -0600
Newsgroups gmane.org.user-groups.nmlug
Message-ID <[email protected]>
SARANG WORLD wrote:
> My hard drive died yesterday, and I bought a replacement (actually, a
> new machine with a new HD).
> 
> I've been making backups using (essentially) "rsync -r /", but I'm not
> sure how to restore them. 

If you only used "rsync -r /", you will be missing critical information that 
would be needed to restore the operating system as it was before. You will be 
missing symlinks, file permissions, owners and groups. If you restored without 
that information, the system would be hopelessly broken.

You probably need to do a new installation on the new machine, then use your 
backup files to restore what you can. I would suggest you take this opportunity 
to upgrade to a more current distribution. If you want to install RH 7.3, you 
should use hardware that is at least 7 years old. Otherwise you will have issues 
with hardware compatibility.

In the future you might want to use the -a (--archive) option with rsync. You 
also need to be sure to run rsync as root user if you intend to capture all the 
system information. But even then, you would run into lots of issues trying to 
restore something that is seven+ years old.

Mars

--
=============================================================
J. Marsden DeLapp, PE
President
DeLapp & Associates, Inc. dba DeLapp Engineering.
Providing lighting and power planning, design and analysis services
for commercial, industrial and large residential facilities.
1190 Harrison Road Ste 3a
Santa Fe NM 87507
(505) 983-5557
http://DeLapp.com
=============================================================


_______________________________________________
NMLUG mailing list
[email protected]
http://lists.b9.com/cgi-bin/mailman/listinfo/nmlug