[CentOS] What to backup?

Les Mikesell lesmikesell at gmail.com
Tue Feb 23 23:53:17 UTC 2010


On 2/23/2010 5:48 PM, Slack-Moehrle wrote:
> Hi All,
>
> I am now working on a plan of what to backup from various servers that I have running
>
> I run Apache, so httpd.conf and /var/www/html
>
> I run Zimbra currently, so /opt/zimbra/store, /opt/zimbra/my.cnf and /opt/zimbra/db/
>
> I run MySQL, so /etc/my.cnf and /var/lib/mysql
>
> Can I simply write a bash script to tar.gz these areas, scp them and put it in a cron job?
>
> Is there anything special that I have to do with MySQL since it is running?
>
> If helpful, I can take what I learn and update the Wiki if there is not already a procedure for doing these operations on it.

Whenever someone mentions backups, I always recommend backuppc because 
it will do a better job with less archive space than anything else.  You 
can read about it here: http://backuppc.sourceforge.net/ and there is a 
packaged version in the epel repository.

-- 
   Les Mikesell
    lesmikesell at gmail.com



More information about the CentOS mailing list