Results 1 to 6 of 6

Thread: RSS feed contains two items, not one, for each incremental backup

  1. #1

    Default RSS feed contains two items, not one, for each incremental backup

    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:

    [HTML]

    Backup Report for MySQL ZRM at 11:15:04 AM on 2008-11-10
    http://www.myserver.com/reports/html/incremental-run.20081110111504.html
    Reports Created by Zmanda Recovery Manager (ZRM) for MySQL at Mon, 10 Nov 2008 11:15:04 +0000 tion>



    Backup Report for MySQL ZRM at 11:15:03 AM on 2008-11-10
    http://www.myserver.com/reports/html/incremental-run.20081110111502.html
    Reports Created by Zmanda Recovery Manager (ZRM) for MySQL at Mon, 10 Nov 2008 11:15:03 +0000 tion>
    [/HTML]

    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.:

    [HTML]incremental-run Mon Nov 10 11:15:02 2008 1 Backup succeeded[/HTML]

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

    Any help would be appreciated!

  2. #2

    Default

    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 --latest

  3. #3

    Default

    Hi

    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:

    Code:
     /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:

    Code:
    /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?

  4. #4

    Default

    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

    [url]http://forums.zmanda.com/bugzilla/[/url]

    we can attach you a fix immediately.

    -thanks

  5. #5

    Default

    [url]http://forums.zmanda.com/bugzilla/show_bug.cgi?id=67[/url]

  6. #6

    Default

    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.
    Attached Files Attached Files

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •