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