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