1 version 0.9.5 -- unreleased
4 . Fixed typo breaking things for VServers.
6 version 0.9.4 -- October 6th, 2006
8 . Fixed bug in toint(), and thus isnow(), which caused it
9 to not work when run from cron.
10 . Recursively ignore subdirs in /etc/backup.d (Closes: #361102)
11 . Add admingroup option to configuration to allow a group that can
12 read/write configurations (instead of only allowing root). Checks
13 and complains about group-readable files only when the group differs
14 from the one in the configuration file (default is root as before).
15 Thanks to Martin Krafft for the patch (Closes: #370396).
16 . When determining which backup actions to make, find now follows
17 symlinks for $configdirectory
18 . Changed order of -s to mail for compatibility
19 . fixed permission stat call so it uses the --format supported by
20 coreutils (Closes: #382747)
21 . Added disk space report option (thanks Adam Kosmin)
26 . rotated rsync snapshops
27 . code from paulv@bikkel.org
29 . alternative to rsnap
30 . code from rhatto@riseup.net
32 . Fixed improper use of $vuserhome (Closes: #351083)
33 . Fixed erroneous removal of tmpfile when it didn't exit
34 . Fixed inversed vsname emptiness check
35 . Fixed su quote usage to be more posixy
36 . Compress for sqldumps now happens in-line to save some disk space (Closes: #370778)
37 . Fixed --defaults-file now as --defaults-extra-file (thanks rhatto)
39 . Fixed inversed vsname emptiness check
40 . Fixed su quote usage to be more posixy
41 . Fixed shell expansion, thanks Thomas Kotzian (Closes: #363297)
42 . postgres user UID is now the one from inside the vserver if necessary
43 . Compress now happens in-line to save some disk space (Closes: #370778)
44 . $PGSQLUSER is used instead of hardcoding user 'postgres' (although this is the default)
46 . Fixed inversed vsname emptiness check
48 . Symlink and globbing support in include/exclude/vsinclude
49 clarification: globbing is fully supported again, whereas no attempt
50 is done to dereference symlinks anymore, due to incompatibilities
51 between various readlink versions in this field.
52 . Removed overzealous vsnames check
53 . Now works if testconnect=no and if $test is not defined.
54 . add $sshoptions config parameter in [dest] section of config so
55 connections to ports other than 22 can be made by adding the
56 following to the top of the handler config:
57 options = --remote-schema 'ssh -p REMOTE-PORT -C %s rdiff-backup
60 . Symlink and globbing support in include/exclude/vsinclude
61 clarification: globbing is fully supported again, whereas no attempt
62 is done to dereference symlinks anymore, due to incompatibilities
63 between various readlink versions in this field.
64 . Removed over zealous vsnames check
65 . Does not pretend anymore that duplicity can work without
67 . Support duplicity 0.4.2 (with Debian patches applied; upstream's
68 0.4.3 will integrate them); documented how to write sftp-compatible
69 sshoptions (Closes: #388543)
70 . Now forbid to (try to) include /.
72 . Many more system checks were added, (thanks to Petr Klíma)
73 . Added warning if no devices were found (thanks Ranier Zocholl)
74 . Enhanced debian package selections to include purged packages (thanks
76 . Removed warning about vserver not running (thanks anarcat)
78 . Compress now happens in-line to save some disk space (Closes: #370778)
80 . Added nicelevel option (thanks rhatto)
82 . fixed problem when src was set to the trac repo directly (Closes: #382737)
85 . init_vservers: fixed Debian bug #351083 (improper readlink syntax)
86 . found_vservers: escaped special grep repetition character +
87 . forced mktemp to use a template with a name to be more compatible with
88 different versions of mktemp, thanks anarcat
90 . Recursively ignore subdirs in /etc/backup.d (Closes: #361102)
91 . Fix configdirectory error that forced you to use /etc/backup.d, thanks anarcat
92 . When determining which backup actions to list, find now follows
93 symlinks for $configdirectory
94 . Stop checking helpers perms: both "make install" and distros packages
95 install them with appropriate permissions, it's overzealous to check
96 this at runtime, and is more complicated to do with current
99 . Fix: signing was enabled with symmetric encryption.
100 changed cron permissions to 644
101 changed /etc/backup.d permissions to 0770 (for admingroup)
102 minor documentation fixes
103 improved RPM build process allowing 'make rpm-package' and 'make
104 srpm-package' targets, also fixes permissions on man directories,
105 cleans up RPM-related files during distclean, and adds default
106 EDITOR for "autogen.sh -f" if none is set. (thanks Robert Napier)
108 version 0.9.3 -- February 1st, 2006
112 . added (commented out) the various default paths to
113 programs such as PGSQLDUMP, so that users can figure
114 out more easily they can customize them
116 . now uses vservers lib to initialize vservers support
118 duplicity, mysql, pgsql, rdiff, svn, sys: start to use (at different
119 degrees) new lib/vserver functionality
121 . fixed no user defaults file processing
123 . fixed (again...) globbing in include and exclude options (Debian bug
124 #348022, follow-up to #338796)
125 . warn if vsnames or vsinclude is enabled while vservers support is
126 disabled in backupninja.conf
127 . now works when multiple vservers names are given (separated by space)
128 in vsnames config variable
130 . fixed globbing bug in include, exclude and vsinclude options
131 . it's now possible to choose exactly which vservers should be
132 backed-up, as it already was with duplicity handler, with the
133 "vsnames" configuration setting
136 . fixed errors in create remote dir
137 . code formatting cleanup (three spaces indent)
138 . fixed bug which caused only first include/exclude dir to
140 . fixed globbing bug with exclude
142 . now reports error if the helper script has a syntax error or bombs out.
143 . code formatting cleanup (three spaces indent)
146 . init_vservers: improved VROOTDIR detection
147 . init_vservers: test in a stricter way the real vservers availability
148 . init_vservers: canonicalize VROOTDIR (since duplicity et al.
149 don't follow symlinks)
150 . init_vservers: warn if vservers are enabled but no vserver is found
151 . new function: vservers_exist
154 . formDisplay does not return exit status.
156 version 0.9.2 -- December 29, 2005
158 fixed broken toint() which caused when "everyday" problems
159 backupninja.conf.5 updated to include "when" and "vservers"
161 . moved to lib/ some code that has to be shared between
162 backupninja and ninjahelper
165 . mkdir subdirectory problem fixed
167 . globbing support fixed in include and exclude options
168 . different signing and encrypting key support added
169 . fixed erroneous comments in example.dup about the way
170 GnuPG-related options are used
172 . handler vserver bugs fixed and debug output enhanced
173 ninjahelper(s) changes
174 vserver-related functions added to lib/vservers.in
175 added man/ninjahelper.1 man page
177 . was missing in Makefile.am/.in
179 . used to expand '*' in default source directories
180 . the "Cancel" buttons used to have a weird behaviour
181 . updated to include Vserver selection
183 . forbid the user to choose an empty database set
184 . "Cancel" button now does what it is meant to do
186 . enhanced for vserver support
187 . now able to select databases and dump directory
189 . new handler added (with Vserver support)
191 version 0.9.1 -- November 05 2005
192 rearranged source so that it is relocatable with autotools
193 (thanks to Petr Klíma petr.klima@madeta-group.cz)
194 fixed many bugs in rdiff helper
195 rdiff handler does not require 'label' (for real this time?)
196 added makecd ninjahelper
197 (thanks to Stefani stefani@riseup.net)
198 made ninjahelper create files with mode 600 rather than 000
199 changed subversion handler to use svnadmin hotcopy instead of
200 the unsupported hot-copy.py script, which was moved in Debian
201 update rdiff ninjahelper
202 now detects and auto-install rdiff-backup on the remote
203 machine if possible, also tests the remote backup directory
204 and offers to create it if it doesn't exist
206 version 0.9 -- October 19 2005
207 *** IMPORTANT CHANGE, UPGRADE AT ONCE ***
208 fixed insecure temporary file creation
209 *****************************************
210 removed erroneous magic file marker in pgsql handler
211 fixed incorrect find positional
212 changed direct grep of /etc/passwd to getent passwd.
213 rdiff helper has much better information on failed ssh attempt
214 (patch from cmccallum@thecsl.org).
215 rdiff handler now supports remote source and local dest.
216 (patch from cmccallum@thecsl.org).
217 man pages are greatly improved.
219 version 0.8 -- September 15 2005
220 added pgsql (PostgreSQL) handler, with vservers support.
221 added vservers support to duplicity handler
222 Note: the configuration is a bit different than the rdiff
223 handler's one, but the default behavior is the same:
224 have a look at example.dup.
226 documented .disabled method.
227 corrected VROOTDIR default value.
228 added ninjahelper to the install instructions.
229 improved rdiff, dup and sys handlers' vservers support
230 prevent vserver-debiantools' $VROOTDIR/ARCHIVES directory
231 to be seen as a vserver
232 changes to sys handler
233 make use of configurable $VSERVERINFO instead of hard-coded vserver-info.
234 fixed dpkg existence test inside vserver.
236 changes to pgsql handler
237 now checks if the specified vserver is running.
238 now checks if $PGSQLDUMP/$PGSQLDUMPALL are available where needed.
239 now checks if "postgres" user exists on the host/vserver.
240 changes to ninjahelper
241 check_perms() does not die anymore on group/world readable
242 helper scripts (now consistent with the "helper scripts
243 must not be group or world writable!" error msg).
244 xedit action now tries $EDITOR, then /etc/alternatives/editor,
245 then nano, vim and vi, and aborts if none of these exists.
246 added helper for pgsql handler.
247 rdiff handler now does not require 'label'
248 changes to mysql and svn handlers' vservers support
249 these handlers now check if the source vserver is running
250 added 'ignores' for mysql handler. (thanks Daniel.Bonniot@inria.fr)
252 version 0.7 -- July 26 2005
253 added ninjahelper: a dialog based wizard for creating backupninja configs.
254 considerably improved and changed the log file output.
255 you can now disable actions with .disabled (this is new preferred method).
256 added makecd handler and example.makecd for backing up to cd/dvd (thanks stef).
257 fixed bug when specifying multiple 'when' options.
259 version 0.6 -- June 16 2005
260 ldap handler has new options: backup method to use (ldapsearch or
261 slapcat), restart, passwordfile and binddn. Default backup method
262 is set to ldapsearch as this is safer
263 ******************************************************************
264 NOTE: to get the previous default behavior with the ldap handler,
265 you must set "method = slapcat". The new default is ldapsearch.
266 ******************************************************************
267 implemented fix so that the main script will echo fatal errors rather
268 than being silent about them, this means an error message every hour
269 if there is a major configuration problem (not a handler problem)
270 added vserver support to main script and to the handlers: mysql, svn, sys, rdiff
271 changes to duplicity handler (thanks intrigeri!):
272 "keep = yes" now disables file cleaning on desthost
273 added "sign" option for backups signing
274 added "encryptkey" option to specify the gpg key to use
275 split config into [source], [gpg] and [dest] sections
276 added "nicelevel" option
277 added "testconnect" option
278 added "sshoptions" option (will be passed to ssh/scp)
279 added "bandwidthlimit" option
280 example.dup example config file for duplicity handler
281 added trac (http://trac.edgewall.com/) environment handler (thanks Charles Lepple!)
282 added configfile option to mysql handler
283 the default is /etc/mysql/debian.cnf. with this,
284 sqldump doesn't need dbusername. (hotcopy still does).
285 fixed bug in mysql handler which caused some passwords to not work.
286 (.my.cnf files now have double quotes around password)
287 can now pass options to hwinfo and sfdisk in sys handler.
289 version 0.5 -- April 12 2005
290 rdiff handler works when remote sshd has a banner
291 rdiff handler supports local dest
292 logfile is created if it doesn't exist
293 added "when = hourly"
294 added optional 'nicelevel' to rdiff handler
295 fixed bug where actions were not run in numeric order.
296 improved 'when' parsing.
298 version 0.4.4 -- March 18 2005
299 results of handlers are now read line by line.
300 changes to rdiff handler: added "options", and "keep" is
301 not necessarily days now (ie, it will pass straight through to
302 rdiff-backup if the keep has a unit on it, otherwise it adds the 'D').
303 added dup handler (still pretty beta)
304 added maildir handler (very specialized handler)
305 added --run option (runs the specified action file)
306 improved sys handler, now uses hwinfo
307 added subversion hotbackup handler, svn.
308 added PATH to cron.d file, which fixes file not found errors.
310 version 0.4.2 -- Jan 6 2005
311 fixed bug which caused a report email to be sent even if no actions were run.
312 fixed bug where multiple handler status messages were ignored
313 added status in the subject line of report emails
315 version 0.4.1 -- Jan 3 2005
316 added $usecolors and now more conservative about when colors are echoed.
317 fixed major bug, 'when' actually works now.
318 replaced debug function with debug, info, warning, error, fatal.
319 added --now option to force all actions to be performed now.
321 version 0.4 -- Dec 26 2004
322 added "when" option, so that all configs can specify when
324 added reportsuccess and reportwarning config options
325 added .sys handler (hardware, packages, partitions).
327 version 0.3.4 -- Dec 8 2004
328 fixed numerical variable quoting compatibility with older wc
329 fixed stderr redirect bug
330 some comments in example.rdiff
332 version 0.3.3 -- Nov 10 2004
333 '*' (asterisk) works now in rdiff config files
334 works now with gawk as well as mawk
335 many bug fixes to ldap handler
336 paths to helper scripts can be configured in global config
337 does not require /usr/bin/stat
339 version 0.3.2 -- Sept 29 2004
340 handler scripts are no longer executable (to comply with debian policy)
341 handler error and warning messages are sent with the notify email
343 version 0.3.1 -- Sept 5 2004
345 moved sh support to a handler script
346 add test mode, where no action is taken.
348 force only root can read /etc/backup.d/*
349 fixed missing equals symbols in example.rdiff
350 changed backupninja executable to be /usr/sbin rather than /usr/bin
352 version 0.3 -- Oct 20 2004
353 ** IMPORTANT ** all config files are now ini style, not apache style
354 rewrote all scripts in bash for portability
355 added drop-in backupninja lib directory (/usr/share/backupninja)
356 all scripts are now run as root
358 version 0.2 -- Oct 14 2004
359 move distribution folder ./cron.d to ./etc/cron.d
360 fixed bug: removed printr of excludes (!)
361 added support for changing the user/group in rdiff sources.
362 added support for .mysql config files.
364 version 0.1 -- Oct 8 2004