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