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