Operating System - Linux
1836221 Members
3182 Online
110096 Solutions
New Discussion

Re: Save OS, Software Installed And Datas

 
John CLARK_5
Frequent Advisor

Save OS, Software Installed And Datas

Dear friends,

I have a server that contain 2 Hard Drive(Raid1) with Linux Redhat 3 As, and a database installed.
The technical service want to change some components in this server and i want to save OS, Software Installed And Datas
and restore all these in another same server.
Please, what are the steps to do (commands) ?

Thank's a lot.
Best regards.
5 REPLIES 5
Ivan Ferreira
Honored Contributor

Re: Save OS, Software Installed And Datas

For tools, see:

www.mondorescue.org/
www.systemimager.org/

For simple backup with commands, use star with the -xdev option to save each filesytem, like:

star c -xdev -sparse -acl f=/dev/nst0 /
star c -xdev -sparse -acl f=/dev/nst0 /usr
star c -xdev -sparse -acl f=/dev/nst0 /var
star c -xdev -sparse -acl f=/dev/nst0 /home
star c -xdev -sparse -acl f=/dev/nst0 /oracle
star c -xdev -sparse -acl f=/dev/nst0 /oradata

The star command is not installed by default.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
John CLARK_5
Frequent Advisor

Re: Save OS, Software Installed And Datas

Thank's a lot.

1-For restoration, i must install OS and then restore these files ?
How can i restore them (commands) ?
2-Is "star" command a package that i must download or it exists in the redhat install cds ?

Regards.
Ivan Ferreira
Honored Contributor

Re: Save OS, Software Installed And Datas

You don't need to install the OS, you can boot with the CD and start in rescue mode to restore the files. Also, I think that your system still will be bootable, so boot in single user and restore the files.

The star package comes with Fedora Core 4, i'm not sure if is available on the Red Hat Enterprise 3 CD's.

Just remember to save every filesytem listed in the df -t ext3 output.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: Save OS, Software Installed And Datas

Also, when restoring (if needed), use the -U and -p options. See the man page.

Cheers.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
John CLARK_5
Frequent Advisor

Re: Save OS, Software Installed And Datas

Hi all,
Did someone have the same experience,if yes, can you advice me about this operation ?

Regards.