Solved

Regarding effective backup strategy for Apache Web Server

Posted on 2004-09-10
5
260 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
Comment Utility
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
Comment Utility
0
 

Author Comment

by:mn210
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

10 Experts available now in Live!

Get 1:1 Help Now