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