Thomas Goirand wrote: > José Luis Tallón wrote: > >> Please count on me as beta-tester, or if you need some help/input with >> the package, just tell me. >> I'd rather have a good package in Debian than having to maintain it >> myself (we only use packaged software here), so please count on me to >> help with this. >> My interdiff is attached.
J.L.
diff -u automysqlbackup-2.5/debian/control automysqlbackup-2.5/debian/control --- automysqlbackup-2.5/debian/control +++ automysqlbackup-2.5/debian/control @@ -3,7 +3,6 @@ Priority: extra Maintainer: Thomas Goirand <[EMAIL PROTECTED]> Build-Depends: debhelper (>= 5) -Build-Depends-Indep: po-debconf, gettext Standards-Version: 3.8.0 Dm-Upload-Allowed: yes Homepage: http://sourceforge.net/projects/automysqlbackup/ reverted: --- automysqlbackup-2.5/debian/automysqlbackup.install +++ automysqlbackup-2.5.orig/debian/automysqlbackup.install @@ -1 +0,0 @@ -automysqlbackup /usr/sbin reverted: --- automysqlbackup-2.5/debian/automysqlbackup.manpages +++ automysqlbackup-2.5.orig/debian/automysqlbackup.manpages @@ -1 +0,0 @@ -debian/automysqlbackup.8 diff -u automysqlbackup-2.5/debian/README.Debian automysqlbackup-2.5/debian/README.Debian --- automysqlbackup-2.5/debian/README.Debian +++ automysqlbackup-2.5/debian/README.Debian @@ -1 +1,15 @@ -Bla! +automysqlbackup for Debian +========================== + + + automysqlbackup creates backup every day, week and month for all of your MySQL + database, to a configured folder. There's nothing to do but to install this + package, and you'll rest assured that you have a way to go back in the + history of your database. + + The package include the adequate cron entries so that it automatically performs + the backup as configured. + + All parameters can be setup by editing the /etc/default/automysqlbackup file + + reverted: --- automysqlbackup-2.5/debian/automysqlbackup.dirs +++ automysqlbackup-2.5.orig/debian/automysqlbackup.dirs @@ -1 +0,0 @@ -/var/lib/automysqlbackup reverted: --- automysqlbackup-2.5/debian/automysqlbackup.8 +++ automysqlbackup-2.5.orig/debian/automysqlbackup.8 @@ -1,8 +0,0 @@ -.TH automysqlbackup 8 -.SH NAME -automysqlbackup \- backup all of your database daily, weekly, and monthly - -.SH DESCRIPTION - -This man page is a stub, please complete and contribute by writing more things -in this file. only in patch2: unchanged: --- automysqlbackup-2.5.orig/debian/dirs +++ automysqlbackup-2.5/debian/dirs @@ -0,0 +1,2 @@ +/var/lib/automysqlbackup +/etc/automysqlbackup \ No newline at end of file only in patch2: unchanged: --- automysqlbackup-2.5.orig/debian/Makefile +++ automysqlbackup-2.5/debian/Makefile @@ -0,0 +1,6 @@ +# +.PHONY: dummy + + +tidy: dummy + rm -f *~ only in patch2: unchanged: --- automysqlbackup-2.5.orig/debian/manpages +++ automysqlbackup-2.5/debian/manpages @@ -0,0 +1 @@ +debian/man/automysqlbackup.8 only in patch2: unchanged: --- automysqlbackup-2.5.orig/debian/install +++ automysqlbackup-2.5/debian/install @@ -0,0 +1 @@ +automysqlbackup /usr/sbin only in patch2: unchanged: --- automysqlbackup-2.5.orig/debian/man/automysqlbackup.8 +++ automysqlbackup-2.5/debian/man/automysqlbackup.8 @@ -0,0 +1,92 @@ +.\" Hey, EMACS: -*- nroff -*- +.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"[EMAIL PROTECTED]" +Email Address to send mail to? ([EMAIL PROTECTED]) +.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 seperate 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 +<[EMAIL PROTECTED]>. +for the Debian GNU/Linux system, but can be used by others.