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