Originally Posted by agentpineapple
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.