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