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