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