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