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