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