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