Results 1 to 2 of 2

Thread: Should post-backup script be called twice?

  1. #1

    Default Should post-backup script be called twice?

    The post-backup template script (/usr/share/mysql-zrm/plugins/post-backup.pl) states:

    Code:
    # Parameters passed to the plugin
    # -------------------------------
    # First parameter is the value of "post-backup-plugin-options" from the
    # mysql-zrm.conf(5) configuration file.
    # Second parameter is the data being backed up. It will be either
    # '--all-databases' or
    # '--databases <"db1 db2 ...">' or
    # '--database <db>' and  '--tables <"table1 table2 ...">'
    # Third parameter will be --backup-directory <path>
    # Fourth parameter will be --checksum-pending
    #
    # The second time the post-backup-plugin is called it will have 2 parameters
    # First parameter will be --backup-directory <path>
    # Second parameter will be --checksum-finished
    I can't seem to figure out when it's supposed to be called the "second time", it appears to be only called once. Is there an option that has to be switched on to make ZRM call the post script again AFTER checksumming?

  2. #2

    Default

    Never mind, figured it out.

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
  •