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