Go to ...

Techpository

A Better Technical Repository

RSS Feed

MySQL: Zmanda – Notes and Tips


 

Decompressing a mysql-zrm backup:
mysql-zrm-extract-backup –source-directory /var/lib/mysql-zrm/20120101092426/

__________________________________________________________________________

Start an immediate backup:
mysql-zrm-scheduler –now –backup-set dailyrun –backup-level 0

__________________________________________________________________________

An example crontab setup: (crontab -e)

0 1 * * * /usr/bin/zrm-pre-scheduler –action backup –backup-set dailyrun –backup-level 0 –interval daily
0 4 * * * /usr/bin/mysql-zrm –action purge
0 20 * * * /usr/bin/zrm-pre-scheduler –action backup –backup-set website1 –backup-level 0 –interval daily
15 20 * * * /usr/bin/zrm-pre-scheduler –action backup –backup-set website2 –backup-level 0 –interval daily
45 20 * * * /usr/bin/zrm-pre-scheduler –action backup –backup-set contacts –backup-level 0 –interval daily