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