How to restore from redhat linux backup

Don´t be shy, Linux is fun! =)
Post Reply
User avatar
intern3t
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 119
Joined: 18 Aug 2010, 02:06
13

How to restore from redhat linux backup

Post by intern3t »

Few years ago, i backup the whole "/" of a red had linux x64 server, now i have installed the same version of linux. What is the best way i can restore the backup.tgz to my new installed server, having all the services installed on the old server and files. Note: i still remember my passwords for the old server, so i can still rewrite my "/etc/passwd" and other password files.

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Re: How to restore from redhat linux backup

Post by bad_brain »

hm, best unpack the backup into an own folder, navigate into that folder and:

Code: Select all

cp -R -f * /
the -f switch forces to overwrite files (actually it removes existing ones first and then tries again)...you might still run into problems....so I would exclude at list bin from being copied.
Image

Post Reply