mysql-zrm-purge(1)                                          mysql-zrm-purge(1)



NAME
       mysql-zrm-purge  -  Utility to purge backups that have gone past reten-
       tion policy date in ZRM for MySQL.

SYNOPSIS
       mysql-zrm-purge
                       [--destination directory name]
                       [--options-file filename]
                       [--quiet|--no-quiet]
                       [--verbose]
                       [--help]


DESCRIPTION
       This utility removes expired backups (based on retention policies spec-
       ified during backup) from the specified --destination directory.

       Please   see   the   ZRM   for   MySQL   documentation   (http://mysql-
       backup.zmanda.com/) for details on how to configure  and  use  ZRM  for
       MySQL.


OPTIONS
       --destination directory name
              Specify  the directory where backup are stored. Default location
              is /var/lib/mysql-zrm/. If this option is specified, the  direc-
              tory  must  be exist and should be writable by the ZRM for MySQL
              user. If not, the utility exits with an error.

       --options-file filename
              Set the file along with full pathname that contains  MySQL  com-
              mand options.

       --tmpdir temporary directory to be used
              Full  path  of  the  directory  to be used for storing temporary
              files and directories on the backup host. If  not  specified  it
              defaults  to  the  system  specified  temporary directory on the
              backup host, e.g. /tmp.

       --quiet|--no-quiet
              Choose quiet to suppress display  of  log  messages  on  stdout.
              Choose  no-quiet  to display the log messages to standard output
              (stdout). The default is --no-quiet.

       --verbose
              Provide more detailed output  in  the  log.  Verbose  output  is
              turned off by default.

       --help Displays  the  help  message  and  exits. This command line only
              parameter cannot be specified in the configuration file.

FILES
       /var/lib/mysql-zrm
              Directory under which all backup data is stored.


       /etc/mysql-zrm/backup set name/mysql-zrm.conf
              Configuration file read by ZRM for MySQL.


RETURN VALUES
       On success, zero is returned. On error, non-zero value is returned.


SEE ALSO
       mysql-zrm(1),     mysql-zrm-backup(1),      mysql-zrm-manage-backup(1),
       mysql-zrm-restore(1),       mysql-zrm-check(1),      mysql-zrm-list(1),
       mysql-zrm-getconf(1), mysql-zrm-setconf(1), mysql-zrm-parse-binlogs(1),
       mysql-zrm-extract-backup(1),                mysql-zrm-verify-backup(1),
       mysql-zrm-abort-backup(1),                      mysql-zrm-scheduler(1),
       mysql-zrm-reporter(1), mysql-zrm.conf(5), mysqldump(1), mysqlbinlog(1),
       mysql(1), lvm(8), Zmanda  Recovery  Manager  for  MySQL  (http://mysql-
       backup.zmanda.com/)


AUTHOR
       Zmanda Inc. (http://www.zmanda.com)



Zmanda, Inc.                    ZRM for MySQL               mysql-zrm-purge(1)
