Link to home
Start Free TrialLog in
Avatar of Frosty555
Frosty555Flag for Canada

asked on

Backup CentOS production server

What is an appropriate way to make backups of a production server running CentOS?

The server is essentially a web host - it runs cPanel WHM, it has Apache, MySQL, Exim Mail and a handful of other services running on it. There is some special configuration done in cPanel for some of the user's web spaces (some of them have their permissions tweaked so they can talk to each other).

All we have in place right now is automysqlbackup for the databases... which isn't much.

Ideally we'd like to be able to restore on a file-by-file basis, but also we need a disaster recovery strategy to restore if the entire server goes down (e.g. the RAID array fails, datacenter goes down or something else disasterous happens)

It would be really nice to have the ability to "roll back" the production server a few hours in the event that we accidentally break it somehow (for example, upgrade cPanel and the upgrade fails, now we need to roll back somehow).

Since it is a production server... there obviously can be zero downtime but we can handle a bit of performance degradation in the middle of the night.

What's a good way to accomplish this?
ASKER CERTIFIED SOLUTION
Avatar of Aaron Tomosky
Aaron Tomosky
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Also get a test box and test drive Symantec System Recovery Linux Edition.

I use it for Windows - I have not tested it on Linux yet, next week maybe when I get a chance.
Avatar of Frosty555

ASKER

ZFS seems like the way to go. I'm not sure if this is feasable for us at this point because the server is already live and I don't know if we can take it down for long enough to change the filesystem around... but good advice.
The whole rsync/zfs snapshots is a new way of looking at backups. I for one have gone forward and only use traditional backup software for workstations, and even that can be changed when I have time.