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