PDA

View Full Version : post-backup.pl params



jvruddy
January 10th, 2007, 01:04 PM
How can I pass the folder name that is created to the post-backup.pl script?

I would like to tar and gzip the folder and keep a copy on a different machine.

When dailyrun finishes I have a folder named dailyrun/20070109034500

I need to get that name passed to post-backup.pl.

Any suggestions?

Thanks!

paddy
January 10th, 2007, 03:12 PM
Post backup plugin are passed backup set name as parameter. Use mysql-zrm-reporter to obtain the backup directory. --noheader and --latest options will be useful.

We will be improving this interface in this next release.

Paddy