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