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