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