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