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