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