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