Solved

Regarding effective backup strategy for Apache Web Server

Posted on 2004-09-10
5
265 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

792 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