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