LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2006, 09:50 PM   #1
Yamabob217
LQ Newbie
 
Registered: May 2004
Posts: 6

Rep: Reputation: 0
A Simple System Back-Up Suggestion?


I'm running RedHat ES 4 as a test server for web development. I am relatively new at administering a Linux Server on my own, having relied on trained professionals at third parties in the past.

I am looking fo a painless :-) way to back-up the operating system once I have it configured. I have the local network working, as well as Perl and MySQL. I am planning on loading Tomcat and the Java JVM to run Java Server Pages.

What I'm looking for is a way to save the system in a given state so I can reload it in the event of a drive failure. I don't believe that I need a mirror of the system, as this seems like it may be a little more difficult to set-up. I would be happy with a solution that required me to re-install the operating system, then overwrite the system files with the back-ups that I made. This is the gist of my question...

If I copy file system folders to another drive (I added another hard-drive to the box to be used for back-up) with the intent of using these to restore the configuration of my server, can I overwrite a newly installed file system with these folders and expect my server to be in the state that it was in when the back-ups were made?

Any suggestions would be greatly appreciated.

Thanks,

Bob
 
Old 01-12-2006, 10:07 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
You have 2 easy options. If the drives are the same size, you can do software RAID between them, so the 2nd disk is a copy of the first. Even easier is to set up the wonderful http://backuppc.sourceforge.net/to backup whatever you tell it to backup. Of course, the backuppc solution can only run on a linux box, so if you only have 1, it is backing itself up, and fdoesn't help much in the even of a catastrophic failure, but if you just want the ability to restore yesterday's files over todays, it rocks. I deploy that all over.

Peace,
JimBass
 
Old 01-12-2006, 10:41 PM   #3
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian
Posts: 2,159

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Quote:
If the drives are the same size, you can do software RAID between them, so the 2nd disk is a copy of the first.
RAID is not a backup solution. You accidently delete a file from your disk, and it's gone from the mirror too. RAID mirroring is designed to keep a system running if a disk goes bad on you. You can't "restore from a RAID backup".
Quote:
I would be happy with a solution that required me to re-install the operating system, then overwrite the system files with the back-ups that I made.
No problem. This type of restore is done all the time. Check out the "rsync" command. You may also want to read up on the "system identity backup" concept, as described by Marcel Gagne here: http://www.linuxjournal.com/article/5328 You will probably need to buff up the sample script and add things specific to your system that Marcel does not mention.
 
  


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
suggestion for app to back up a folder nephish Linux - Software 2 09-25-2005 07:16 PM
complete system back-up netsurf SUSE / openSUSE 1 06-03-2005 05:59 AM
any suggestion for document management system?? yenonn Linux - Software 1 03-29-2005 07:32 AM
system back-up powadha Linux - Software 1 12-26-2003 10:03 AM
Suggestion: Thread Rating System eric.r.turner LQ Suggestions & Feedback 4 10-01-2003 07:51 PM


All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration