LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-02-2006, 08:19 AM   #1
RajendraKumar
LQ Newbie
 
Registered: Jul 2006
Posts: 21

Rep: Reputation: 15
Backup of RHEL server


Dear All,
I want to take backup of my RHEL server so that in case any fault I can replace all setting correctly.

I am using squid,nis,samba on it.

Thanks All,
Please give me suggestion for that.
Thanks Again,

Rajendra
 
Old 08-02-2006, 11:37 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
I find that cpio is great for doing a "live" system backup.

For example: To backup my Fedora system, I would boot into FC5 and save a backup image onto another hard drive partition ...
Code:
(cd /; find . -xdev | cpio -voc > /mnt/backup/linux.cpio.gz)
Now the restore operation kind of assumes that your system has been hosed. Therefore, you need to do the restore from a livecd or another system which is still working.
For example: To restore my FC5 to /dev/sda1 ...
Code:
mkfs.ext3 /dev/sda1
mkdir /mnt/mudd
mount /dev/sda1 /mnt/mudd
(cd /mnt/mudd; cpio -vicdm < /mnt/backup/linux.cpio.gz)
I also find partimage to work very nicely for system backup/restore.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
backup server ; network file system / ftp-server ? markus1982 Linux - Security 5 06-06-2007 05:15 PM
how can i take Backup of my RHEL RajendraKumar Linux - Networking 3 08-03-2006 10:28 AM
Login problems with XDMCP from a pre-RHEL-4 client to a RHEL-4 server running KDE cspao Red Hat 0 07-21-2006 06:30 AM
Is CentOS RHEL or RHEL Server? mikes63737 Linux - Distributions 1 02-28-2006 04:35 PM
Mounting windows server onto SuSE backup server murungu Linux - General 1 09-20-2004 03:01 PM


All times are GMT -5. The time now is 04:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration