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