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