![]() |
![]()
| ![]() |
![]()
NAMEmysqldump-secure - secure mysqldump wrapper with encryption SYNOPSIS mysqldump-secure
DESCRIPTIONMysqldump-secure is a POSIX compliant shell wrapper for mysqldump(1) with strong security in mind. It will backup every available database (which is readable by the specified user) as a separate file with the possibility to opt out via blacklisting. Dumped databases can optionally be piped directly to gzip or openssl in order to compress and/or encrypt the backup. Encryption is done before the file is written to disk to avoid possible race conditions. OPTIONSUsage: mysqldump-secure [--conf] [--cron] [--test] [-v[v]]
When invoked without any arguments, it will start dumping databases as defined in mysqldump-secure.conf. --conf Pass different configuration file than the default one. E.g.: --conf=/etc/mysqldump-secure-alt.conf --cron Use for cron run. It will only output errors and warnings and will silence all info, debug and trace output. --test Test requirements and exit. Combine with -v or -vv for more verbose output. -v Show debug output. Can be combined with --conf and --test -vv Show debug and trace output. Can be combined with --conf and --test --help Show help screen. --version Show version information. FILES /etc/mysqldump-secure.cnf
EXAMPLEPrior using mysqldump-secure to backup databases, you should run the test mode in order to make sure everything is setup correctly. Running the test mode directly after installation should give you an error about the MySQL connection.
So in order to fix that, you should change credentials in /etc/mysqldump-secure.cnf. Once done, the output should look like this:
If no errors or warnigs are shown and the program exits with 0, you are ready to go. Add the verbose flag to get more information. Either use -v for debug or -vv for debug and trace output. EXIT STATUS 0 All fine, no fatals, no errors and no warnings occured.
BUGSPlease report all bugs to https://github.com/cytopia/mysqldump-secure/issues SEE ALSOmysqldump(1), mysql(1) AUTHORPatrick Plocke (patrick@plocke.de) http://mysqldump-secure.org
|