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