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