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