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