Results 1 to 5 of 5

Thread: Error when running mysql-zrm-scheduler

  1. #1

    Unhappy Error when running mysql-zrm-scheduler

    Hello from a newbie,

    I just installed zmanda and am trying a test using the default mysql test database.

    I believe that I have the conf file setup correctly:

    backup-level=0
    backup-mode=logical
    destination=/backups/mysql-zrm
    retention-policy=10D
    compress=1
    compress-plugin=/usr/bin/bzip2
    databases=test
    user="backup-user"
    password="password"
    socket=/tmp/mysql.sock
    mysql-binlog-path="/var/log/mysql"
    verbose=1

    Here is the command I am running:
    mysql-zrm-scheduler --now --backup-set dailyrun

    Unfortunately I can't seem to get past this error.

    ERROR: Register backup in dailyrunfailed

    INFO: backup-status=Backup done but with errors
    INFO: Backup done but with errors
    ERROR: /usr/bin/mysql-zrm did not finish successfully

    Is there something I need to set in the conf file or elsewhere to fix this error.

    I can provide more info if necessary. I am trying to limit the verbosity of my post.

    Thanks in advance.

    ReedK

  2. #2
    Join Date
    Oct 2005
    Posts
    1,559

    Default

    Do you have a backup set?

    Where is mysql-zrm.conf located? /etc/mysql-zrm//mysql-zrm.conf?
    Can you check if this directory is writable?

    Thanks,
    Paddy

  3. #3

    Smile

    thanks for the reply.

    The mysql-zrm.conf is located in /etc/mysql-zrm/dailrun/mysql-zrm.conf

    under that directory, I created a directory called last_backup as I was going to put the backups under there. I then switched the location to /backups/mysql-zrm and got the aforementioned ERROR.

    I removed the /etc/mysql-zrm/dailyrun/last_backup directory and my backup then succeeded.

    I am glad it works but am not sure why it was attempting to look down the last_backup directory. Any more help would be appreciated.

    Thank you again for the prompt response.

    ReedK

  4. #4
    Join Date
    Oct 2005
    Posts
    1,559

    Default

    "last_backup" is a reserved file name. ZRM for MySQL uses file to store internal state of backup for the backup set. So, it will create /etc/mysql-zrm/last_backup, /etc/mysql-zrm//last_backup files and read these files.

    So, ZRM for MySQL users should not create a file or directory called "last_backup" in
    /etc/mysql-zrm directory tree.

    Paddy

  5. #5

    Default

    Excellent, thanks for clearing that up.

    Reedk

Posting Permissions

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