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