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