1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
|
.TH automysqlbackup 8 "6 Sep 2008" "wipe_out" "Automatically backup MySQL"
.SH NAME
automysqlbackup \- backup all of your database daily, weekly, and monthly
.SH SYNOPSIS
automysqlbackup
.br
.SH DESCRIPTION
This manual page documents briefly the
.B automysqlbackup
command.
.PP
configuration is stored within the
.RI /etc/default/automysqlbackup
file
.PP
.SH PARAMETERS
.br
.TP
\fBUSERNAME=\fPdbuser
Username to access the MySQL server e.g. dbuser
.TP
\fBPASSWORD=\fP"password"
Username to access the MySQL server e.g. password
.TP
\fBDBHOST=\fPlocalhost
Host name (or IP address) of MySQL server e.g localhost
.TP
\fBDBNAMES=\fP"DB1 DB2 DB3"
List of DBNAMES for Daily/Weekly Backup e.g. "DB1 DB2 DB3"
.TP
\fBBACKUPDIR=\fP"/backups"
Backup directory location e.g /backups
.br
.PP
.TP
\fBMAILCONTENT=\fP"stdout"
Mail setup
What would you like to be mailed to you?
- log : send only log file
- files : send log file and sql files as attachments (see docs)
- stdout : will simply output the log to the screen if run manually.
- quiet : Only send logs if an error occurs to the MAILADDR.
.TP
\fBMAXATTSIZE=\fP"4000"
Set the maximum allowed email size in k. (4000 = approx 5MB email [see docs])
.TP
\fBMAILADDR=\fP"user@domain.com"
Email Address to send mail to? (user@domain.com)
.PP
.SH ADVANCED OPTIONS
.TP
\fBMDBNAMES=\fP"mysql $DBNAMES"
List of \fIDBBNAMES\fR for Monthly Backups.
.TP
\fBDBEXCLUDE=\fP""
List of \fIDBNAMES\fP to EXCLUDE if DBNAMES are set to all (must be in " quotes)
.TP
\fBCREATE_DATABASE=\fPyes
Include CREATE DATABASE in backup?
.TP
\fBSEPDIR=\fPyes
Separate backup directory and file for each DB? (yes or no)
.TP
\fBDOWEEKLY=\fP6
Which day do you want weekly backups at? (1 to 7 where 1 is Monday)
.TP
\fBCOMP=\fPgzip
Choose Compression type. (gzip or bzip2)
.TP
\fBCOMMCOMP=\fPno
Compress communications between backup server and MySQL server?
.TP
\fBLATEST\fP=no
Additionally keep a copy of the most recent backup in a separate directory.
.TP
\fBMAX_ALLOWED_PACKET=\fP
The maximum size of the buffer for client/server communication. e.g. 16MB (maximum i
.TP
\fBSOCKET=\fP
For connections to localhost. Sometimes the Unix socket file must be specified.
.TP
\fB#PREBACKUP="/etc/automysqlbackup/mysql-backup-pre"
Command to run before backups (uncomment to use)
.TP
\fB#POSTBACKUP=\fP"/etc/automysqlbackup/mysql-backup-post"
Command run after backups (uncomment to use)
.SH AUTHOR
This manual page was written by Jose Luis Tallon
.nh
<jltallon@adv\-solutions.net>.
for the Debian GNU/Linux system, but can be used by others.
|