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