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