LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 07-21-2013, 06:13 AM   #1
agentpineapple
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Rep: Reputation: Disabled
How to Backup Red Hat Enterprise Linux Apache & MySQL in a Wintel environment


Hi,

I've recently been given the task of backing up my company's Apache website and MYSQL DBs. We're using Microsoft DPM 2012 for all our windows servers, but currently do not have anything in place for MYSQL or Apache.

I'm looking for advice on how I can backup MYSQL and Apache - preferably with a DPM agent, but failing this, then may be just schedule backup jobs to a Samba or NFS share and get DPM to backup the share.

Any advice is much appreciated.

Thanks
 
Old 07-21-2013, 10:48 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,134

Rep: Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456
Quote:
Originally Posted by agentpineapple View Post
Hi,
I've recently been given the task of backing up my company's Apache website and MYSQL DBs. We're using Microsoft DPM 2012 for all our windows servers, but currently do not have anything in place for MYSQL or Apache.

I'm looking for advice on how I can backup MYSQL and Apache - preferably with a DPM agent, but failing this, then may be just schedule backup jobs to a Samba or NFS share and get DPM to backup the share.
You could use systemimager or mondoarchive to take a full BMR (bare metal restore) image of your Linux system to ISO images, suitable for network booting/rebuild which would snapshot your system, but really isn't a 'backup' in a strict sense.

You could easily write a small script to do a mysqldump of your MySQL databases (and this can be done while the DB is running), and tar it and your Apache configs/pages/whatever into a single file. If that file is on a resource that DPM is backing up (you mention Samba/NFS), then you're all set. DPM should back that file up every day, and handle versioning/archival for you.
 
Old 07-21-2013, 04:19 PM   #3
agentpineapple
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks TBone,

Quick question - from what I've read samba (CIFs) and NFS would both work, but why would I want to use one over the over?

SMB is easier to setup, but NFS is more secure\flexible with Windows Server 2008 R2?
 
  


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
When did I backup data to tape (cpio, Red Hat Enterprise Linux ES release 4)? jnai Linux - General 4 12-28-2011 11:15 PM
selfcheck request failed for AMANDA backup of Red Hat Enterprise Linux 4 koopa13 Linux - Newbie 3 06-10-2010 07:19 AM
PHP not interpreted by Apache in Red Hat linux enterprise 4 sohailkmu Linux - Newbie 8 02-02-2009 01:55 AM
Backup solution for Red Hat Enterprise Linux ES 4 ShaqDiesel Red Hat 5 10-01-2008 03:30 AM
move ssl from ibm httpserver to apache on Red Hat Enterprise Linux 3 wealth2k Linux - Security 4 06-30-2004 02:31 PM


All times are GMT -5. The time now is 08:34 PM.

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