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