Fixed mysql no user defaults file handling
[matthijs/upstream/backupninja.git] / ChangeLog
1 version 0.9.3 -- unreleased
2     backupninja changes
3        backupninja.conf
4          . added (commented out) the various default paths to
5            programs such as PGSQLDUMP, so that users can figure
6            out more easily they can customize them
7     handler changes
8         mysql:
9          . fixed no user defaults file processing
10
11 version 0.9.2 -- December 29, 2005
12     backupninja changes
13         fixed broken toint() which caused when "everyday" problems
14         backupninja.conf.5 updated to include "when" and "vservers"
15         code refactor:
16             . moved to lib/ some code that has to be shared between
17               backupninja and ninjahelper
18     handler changes
19         trac:
20             . mkdir subdirectory problem fixed
21         duplicity:
22             . globbing support fixed in include and exclude options 
23             . different signing and encrypting key support added
24             . fixed erroneous comments in example.dup about the way
25               GnuPG-related options are used
26         mysql:
27             . handler vserver bugs fixed and debug output enhanced
28     ninjahelper(s) changes
29         vserver-related functions added to lib/vservers.in
30         added man/ninjahelper.1 man page
31         makecd:
32             . was missing in Makefile.am/.in
33         rdiff-backup:
34             . used to expand '*' in default source directories
35             . the "Cancel" buttons used to have a weird behaviour
36             . updated to include Vserver selection 
37         pgsql:
38             . forbid the user to choose an empty database set 
39             . "Cancel" button now does what it is meant to do
40         mysql:
41             . enhanced for vserver support 
42             . now able to select databases and dump directory
43         duplicity:
44             . new handler added (with Vserver support)
45
46 version 0.9.1 -- November 05 2005
47     rearranged source so that it is relocatable with autotools
48         (thanks to Petr KlĂ­ma petr.klima@madeta-group.cz)
49     fixed many bugs in rdiff helper
50     rdiff handler does not require 'label' (for real this time?)
51     added makecd ninjahelper
52         (thanks to Stefani stefani@riseup.net)
53     made ninjahelper create files with mode 600 rather than 000
54     changed subversion handler to use svnadmin hotcopy instead of
55             the unsupported hot-copy.py script, which was moved in Debian
56     update rdiff ninjahelper
57             now detects and auto-install rdiff-backup on the remote 
58             machine if possible, also tests the remote backup directory
59             and offers to create it if it doesn't exist
60
61 version 0.9 -- October 19 2005
62     *** IMPORTANT CHANGE, UPGRADE AT ONCE ***
63      fixed insecure temporary file creation 
64     *****************************************
65     removed erroneous magic file marker in pgsql handler
66     fixed incorrect find positional
67     changed direct grep of /etc/passwd to getent passwd.
68     rdiff helper has much better information on failed ssh attempt
69         (patch from cmccallum@thecsl.org).
70     rdiff handler now supports remote source and local dest. 
71         (patch from cmccallum@thecsl.org).
72     man pages are greatly improved.
73
74 version 0.8 -- September 15 2005
75     added pgsql (PostgreSQL) handler, with vservers support.
76     added vservers support to duplicity handler
77         Note: the configuration is a bit different than the rdiff
78         handler's one, but the default behavior is the same:
79         have a look at example.dup.
80     improved README
81     documented .disabled method.
82     corrected VROOTDIR default value.
83     added ninjahelper to the install instructions.
84     improved rdiff, dup and sys handlers' vservers support
85         prevent vserver-debiantools' $VROOTDIR/ARCHIVES directory
86         to be seen as a vserver
87     changes to sys handler
88         make use of configurable $VSERVERINFO instead of hard-coded vserver-info.
89         fixed dpkg existence test inside vserver.
90         fixed $nodpkg use.
91     changes to pgsql handler
92         now checks if the specified vserver is running.
93         now checks if $PGSQLDUMP/$PGSQLDUMPALL are available where needed.
94         now checks if "postgres" user exists on the host/vserver.
95     changes to ninjahelper
96         check_perms() does not die anymore on group/world readable
97         helper scripts (now consistent with the "helper scripts
98         must not be group or world writable!" error msg).
99     xedit action now tries $EDITOR, then /etc/alternatives/editor,
100         then nano, vim and vi, and aborts if none of these exists.
101     added helper for pgsql handler.
102     rdiff handler now does not require 'label'
103     changes to mysql and svn handlers' vservers support
104         these handlers now check if the source vserver is running
105     added 'ignores' for mysql handler. (thanks Daniel.Bonniot@inria.fr)
106
107 version 0.7 -- July 26 2005
108     added ninjahelper: a dialog based wizard for creating backupninja configs.
109     considerably improved and changed the log file output.
110     you can now disable actions with .disabled (this is new preferred method).
111     added makecd handler and example.makecd for backing up to cd/dvd (thanks stef).
112     fixed bug when specifying multiple 'when' options.
113
114 version 0.6 -- June 16 2005
115     ldap handler has new options: backup method to use (ldapsearch or
116         slapcat), restart, passwordfile and binddn. Default backup method
117         is set to ldapsearch as this is safer
118     ******************************************************************
119     NOTE: to get the previous default behavior with the ldap handler, 
120     you must set "method = slapcat". The new default is ldapsearch.
121     ******************************************************************
122     implemented fix so that the main script will echo fatal errors rather
123         than being silent about them, this means an error message every hour
124         if there is a major configuration problem (not a handler problem)
125     added vserver support to main script and to the handlers: mysql, svn, sys, rdiff
126     changes to duplicity handler (thanks intrigeri!):
127         "keep = yes" now disables file cleaning on desthost
128         added "sign" option for backups signing
129         added "encryptkey" option to specify the gpg key to use
130         split config into [source], [gpg] and [dest] sections
131         added "nicelevel" option
132         added "testconnect" option
133         added "sshoptions" option (will be passed to ssh/scp)
134         added "bandwidthlimit" option
135     example.dup example config file for duplicity handler 
136     added trac (http://trac.edgewall.com/) environment handler (thanks Charles Lepple!)
137     added configfile option to mysql handler
138         the default is /etc/mysql/debian.cnf. with this, 
139         sqldump doesn't need dbusername. (hotcopy still does).
140     fixed bug in mysql handler which caused some passwords to not work.
141         (.my.cnf files now have double quotes around password)
142     can now pass options to hwinfo and sfdisk in sys handler.
143
144 version 0.5 -- April 12 2005
145     rdiff handler works when remote sshd has a banner
146     rdiff handler supports local dest 
147     logfile is created if it doesn't exist
148     added "when = hourly" 
149     added optional 'nicelevel' to rdiff handler
150     fixed bug where actions were not run in numeric order.
151     improved 'when' parsing.
152
153 version 0.4.4 -- March 18 2005
154     results of handlers are now read line by line. 
155     changes to rdiff handler: added "options", and "keep" is
156         not necessarily days now (ie, it will pass straight through to
157         rdiff-backup if the keep has a unit on it, otherwise it adds the 'D').
158     added dup handler (still pretty beta)
159     added maildir handler (very specialized handler)
160     added --run option (runs the specified action file)
161     improved sys handler, now uses hwinfo
162     added subversion hotbackup handler, svn. 
163     added PATH to cron.d file, which fixes file not found errors.
164
165 version 0.4.2 -- Jan 6 2005
166     fixed bug which caused a report email to be sent even if no actions were run.
167     fixed bug where multiple handler status messages were ignored
168     added status in the subject line of report emails
169
170 version 0.4.1 -- Jan 3 2005
171     added $usecolors and now more conservative about when colors are echoed.
172     fixed major bug, 'when' actually works now.
173     replaced debug function with debug, info, warning, error, fatal.
174     added --now option to force all actions to be performed now.
175     
176 version 0.4 -- Dec 26 2004
177     added "when" option, so that all configs can specify when
178         they are to be run.
179     added reportsuccess and reportwarning config options
180     added .sys handler (hardware, packages, partitions).
181
182 version 0.3.4 -- Dec 8 2004
183     fixed numerical variable quoting compatibility with older wc    
184     fixed stderr redirect bug
185     some comments in example.rdiff
186
187 version 0.3.3 -- Nov 10 2004
188     '*' (asterisk) works now in rdiff config files
189     works now with gawk as well as mawk
190     many bug fixes to ldap handler
191     paths to helper scripts can be configured in global config
192     does not require /usr/bin/stat
193
194 version 0.3.2 -- Sept 29 2004
195     handler scripts are no longer executable (to comply with debian policy)
196     handler error and warning messages are sent with the notify email
197
198 version 0.3.1 -- Sept 5 2004
199     added ldap handler
200     moved sh support to a handler script
201     add test mode, where no action is taken.
202     added --help
203     force only root can read /etc/backup.d/*
204     fixed missing equals symbols in example.rdiff
205     changed backupninja executable to be /usr/sbin rather than /usr/bin
206     
207 version 0.3 -- Oct 20 2004
208     ** IMPORTANT ** all config files are now ini style, not apache style
209     rewrote all scripts in bash for portability
210     added drop-in backupninja lib directory (/usr/share/backupninja)
211     all scripts are now run as root
212
213 version 0.2 -- Oct 14 2004
214     move distribution folder ./cron.d to ./etc/cron.d
215     fixed bug: removed printr of excludes (!)
216     added support for changing the user/group in rdiff sources.
217     added support for .mysql config files.
218     
219 version 0.1 -- Oct 8 2004
220     initial release 
221