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