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