LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 08-31-2008, 10:05 PM   #1
ShaqDiesel
Member
 
Registered: Jul 2005
Posts: 144

Rep: Reputation: 15
Backup solution for Red Hat Enterprise Linux ES 4


What is the easiest and free way to create a full server image with backup data on this OS? I've been banging my head against the wall trying to configure amanda properly and am considering abandoning the damn thing.

A well documented walkthrough of amanda requires tar 1.15 or greater. Unfortunately there isn't an rpm for a tar newer than 1.14 on this OS.
 
Old 08-31-2008, 11:00 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,476

Rep: Reputation: 156Reputation: 156
If you have plenty of backup space then I suggest that you not bother with compression or the tar command. Instead back up with the cp command. Something like:

cp -au /bin /backup/bin

cp -au /boot /backup/boot

cp -au /etc /backup/etc

cp -au /home /backup/home

and so on.

See:

man cp

--------------------
Steve Stites
 
Old 09-01-2008, 03:55 PM   #3
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189

Rep: Reputation: 105Reputation: 105
Are you on a really old release of RHEL 4? You have to go all the way back to 2004 for a GNU Tar release before 1.15 according to http://www.gnu.org/software/tar/#releases

I believe the Amanda compatibility page is primarily pointing out difficulties that tar has when you push it to do complete backup and recovery. Check the footnotes at http://wiki.zmanda.com/index.php/FAQ...-compatible%3F. Nothing to stop you from using an older Tar, except that you will probably run into difficulties when it is pushed.

I wouldn't stoop to cp if I was concerned about doing a complete image backup and being able to recover from it. There are lots of tools designed for this purpose. Find one that suits you. Try googling "linux image backup" and take it from there.
 
Old 10-01-2008, 02:03 AM   #4
Caighil
LQ Newbie
 
Registered: Feb 2008
Posts: 22

Rep: Reputation: 15
we just did an amanda project in class. here is my documentation. I hope it helps. you can find it here: http://www.kylecorey.ca/?q=node/43

Amanda was very difficult, but once it worked it worked.

GL
 
Old 10-01-2008, 03:08 AM   #5
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
If you wanted to take a 'one-off' copy of the system (which could be restored later)

Boot from CD, then do either:

To backup:
dd if=/dev/sda | ssh user@host dd of=kickstart.img

To restore:
dd if=kickstart.img | ssh user@host dd of=/dev/sda

STu.
 
Old 10-01-2008, 03:30 AM   #6
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
you also can use webmin's backup scripts.
or partimage or ghost4linux
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Red Hat to launch Red Hat Enterprise Linux 5 before March LXer Syndicated Linux News 0 12-30-2006 08:03 AM
Project made in Red Hat Enterprise 4 need to be able to run on Red Hat Enterprise 3 Elin Linux - Software 1 07-13-2006 12:22 PM
Red Hat Enterprise vs. Red Hat Linux Project RedHatMN Linux - Distributions 2 07-29-2003 04:16 AM


All times are GMT -5. The time now is 02:26 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