Solved

Regarding effective backup strategy for Apache Web Server

Posted on 2004-09-10
5
261 Views
Last Modified: 2013-12-15
Hi Experts,
I have a Apache Web Server running on Red Hat Linux 7.3 with MYSQL database installed. However, I have a pretty old machine.
I am planning for disater recovery  and thinking of two options _
1) Adding another Hard Disk and using  RAID 1 for fault tolerance and fast recovery
2) Using Backup of important filesystems  including databases  on to the Tape drive.
Actually, I am new to system admin and want to know about the instructions to be followed to achieve these objectives.
Secondly, how can I automate and schedule  the process for taking database backups when the mysqld  deamon is running ?
I am bit concerned about the system performance as data mirroring may effect the overall perforrmnce of the web server.
Thanks,

 
0
Comment
Question by:mn210
  • 2
5 Comments
 
LVL 12

Accepted Solution

by:
paullamhkg earned 250 total points
ID: 12041715
1st mysql have the backup/restore function for backup it's databases/tables call mysqldump (http://dev.mysql.com/doc/mysql/en/mysqldump.html) so after you dump your database you can tar to your tape drive manually or try to thinking of using the Amanda (http://www.amanda.org/) which now almost included in many linux distro for backup use. and you can use the amanda to schedule/automate your backup, and select which/what files to backup.

using a Raid 1 (mirroring) is a solution, but it's sure will slow down a bit, but it's better to RAID it for the fault tolerance.

My suggestion is to have the hot swaptable hardware raid to raid your disk and have the tape with the amanda to backup your data into the tape. if you think the hardwre raid is not cost effective, you can thinking of using the software raid, but you need to shutdown when there is disk failure.
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 12041733
0
 

Author Comment

by:mn210
ID: 12310291
Thanks a lot for all info. provided.
Can you please tell one last quetsion :
I want to buy tape drive for my i686 machine(old). We have 4mm DDS-120 4GB data tapes.Which are the good and reliable tape drive (EIDE/SCSI) in the markets today ?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now