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