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