View Full Version : RSS feed contains two items, not one, for each incremental backup

November 10th, 2008, 03:33 AM
Hi there,

I have successfully set up RSS for my incremental backups. The rss.xml file is being generated, but oddly for each successful backup, two item entries are generated in the data:

<title>Backup Report for MySQL ZRM at 11:15:04 AM on 2008-11-10</title>
<description>Reports Created by Zmanda Recovery Manager (ZRM) for MySQL at Mon, 10 Nov 2008 11:15:04 +0000</descrip

<title>Backup Report for MySQL ZRM at 11:15:03 AM on 2008-11-10</title>
<description>Reports Created by Zmanda Recovery Manager (ZRM) for MySQL at Mon, 10 Nov 2008 11:15:03 +0000</descrip

You can see that the URLs to each link are different (generated 2 seconds apart according to the timestamp) but clicking on these links results in the same backup report information being displayed, e.g.:

incremental-run Mon Nov 10 11:15:02 2008 1 Backup succeeded

Has anyone seen this before? My RSS.header file is the default with the titles changed etc.

Any help would be appreciated!

November 10th, 2008, 03:47 PM
clearly it shows you are running two instances of reports, the generated xml file shows two different webserver-url links and time stamps, you might be running scheduler and reporter in sequence( few seconds apart?)

which version of ZRM are you running? are you using CLI or GUI ?

Try running reporter manually using following command and check rss.xml file if it generates double entries..

/usr/bin/mysql-zrm-reporter --type html --output <filename> --latest

November 11th, 2008, 02:47 PM

I'm using 1.2.1 from the CLI.

When I run the backup from the command line the RSS only has one entry, which is correct.

My cron job was using the following:

/usr/bin/zrm-pre-scheduler --action backup --backup-set incremental-run --backup-level 1

The log output didn't appear to indicate two runs, but if I substitute the above job with:

/usr/bin/mysql-zrm-scheduler --now --backup-set incremental-run

Then the RSS is updated correctly, with only one entry per backup.

Any idea why using the zrm-pre-scheduler would result in this behaviour?

November 11th, 2008, 03:27 PM
This looks to be a bug in the zrm-pre-scheduler, reporter is being called from mysql-zrm-scheduler and zrm-pre-scheduler, can you file a bug on this issue at


we can attach you a fix immediately.


November 11th, 2008, 03:37 PM

November 12th, 2008, 10:38 AM
patch for this bug is attached.
pl copy existing /usr/bin/pre-zrm-scheduler to /usr/bin/pre-zrm-scheduler.org
copy attached file as /usr/bin/pre-zrm-scheduler
chmod 750 /usr/bin/pre-zrm-scheduler
chown mysql:mysql /usr/bin/pre-zrm-scheduler

This works for me as expected.