|
Project Information
|
perl mybackupwrapper --help
Usage:
mybackupwrapper [OPTIONS] \
--method [xtrabackup|mylvmbackup|mysqldump|mk-parallel-dump] \
[-- METHOD_OPTIONS]
Options:
--alert-on-failure=<emails> Comma-separated list of email addresses
to send a failure alert
--alert-on-success=<emails> Comma-separated list of email addresses
to send a success alert
--checksum=<checksum_method> Checksum the backup file.
Valid options are MD5, SHA1, SHA256
--compress=<compress_method> Method by which to compress the backup
-h, --help Display this message and exit
--keep-days=<#> Number of days to keep backups before deleting
--log=<log_file> The file to keep logs
Prints to STDOUT if --log is not specified
--mail-program=<mail_prog> The CLI mail program to send alerts
Defaults to `mail`
--method=[xtrabackup|mylvmbackup|mysqldump|mk-parallel-dump]
The method by which to perform the backup
--options-file=<file> The MySQL Options File to use
Defaults to ~/.my.cnf
--pre-run=<script> Executable script to run IMMEDIATELY BEFORE
the backup command
--post-run=<script> Executable script to run IMMEDIATELY AFTER
the backup command
--target=<backup_file> Explicit name for the backup file
(typically not used)
--target-dir=<backup_dir> Directory in which to perform the backup
-v, --verbose Increase verbosity level
-V, --version Display version information and exit
Defaults are:
ATTRIBUTE VALUE
---------------- ----------------
alert-on-failure No default value
alert-on-success No default value
checksum No default value
compress No default value
help FALSE
keep-days No default value
log STDOUT
mail mail
method No default value
options-file ~/.my.cnf
pre-run No default value
post-run No default value
target No default value
target-dir No default value
verbose 0 (out of 2)
version FALSE
|