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