LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-06-2005, 07:07 PM   #1
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Rep: Reputation: 30
good backup method


Good evening all. I was hoping for a little advice on how to run an effective backup system. I have two machines. The primary has an Intel P4 cpu and a RAID 1 array. The backup system runs an Intel celeron and only one hdd. My goal is to have the backup be a perfect mirror to the primary server incase it crashes.

So, what would be the best way to accomplish this? Right now I only have two ideas. I could either
A. Use NFS to mount the directories from the backup machine to the primary, and run rsync on the primary which would essentially synchronize the mounted NFS folders with the primary server.
or B. Just run rsync over ssh on my lan.

These are what I need to backup: (the paths should be self-explanatory)
/home/*
/var/lib/mysql/*
/var/log/*
/var/spool/mail/*
/var/www/*
/var/www2/*
/etc/aliases
/etc/passwd
/etc/shadow
/etc/postfix/body_checks
/etc/samba/smb.conf
/etc/samba/smbpasswd

Is there a better way to keep a running mirror of my apache/postfix server? Or should I stick with Rsync? Thanks!
 
Old 10-06-2005, 07:53 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
rsync is perfectly sensible, and if you don't want the
performance hit (ssh is CPU intense) you can (good
enough network security assumed) do it with normal
transports.


Cheers,
Tink
 
Old 10-07-2005, 11:58 AM   #3
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Original Poster
Rep: Reputation: 30
Thanks for the reply. I think I'm just going to use NFS to mount the backup directories onto the primary server, and use rsync to keep those mounted directories synced.

I'll be sure to post if I run into any problems
 
  


Reply



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
What is your backup method? ChillyWillie Mandriva 4 07-26-2005 02:20 PM
Hard drive dying, good backup method cadj Linux - Software 3 12-14-2004 07:28 PM
Ghost-like method for system backup? Azmeen Slackware 26 08-26-2004 06:24 PM
using tar as a backup method tarax Linux - Newbie 3 06-22-2004 04:25 PM
best backup method slightcrazed Linux - General 9 06-26-2003 03:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:45 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
Open Source Consulting | Domain Registration