April 17

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


Copyright 2021. All rights reserved.

Posted April 17, 2012 by Timothy Conrad in category "Databases

About the Author

If I were to describe myself with one word it would be, creative. I am interested in almost everything which keeps me rather busy. Here you will find some of my technical musings. Securely email me using - PGP: 4CB8 91EB 0C0A A530 3BE9 6D76 B076 96F1 6135 0A1B