db788de8f908cb1a05c68991cb2477b7fecc4c89
[matthijs/upstream/backupninja.git] / ChangeLog
1 version 0.9.2 -- December 29, 2005
2         backupninja changes
3                 fixed broken toint() which caused when "everyday" problems
4                 backupninja.conf.5 updated to include "when" and "vservers"
5                 code refactor:
6                         . moved to lib/ some code that has to be shared between
7                           backupninja and ninjahelper
8         handler changes
9                 trac:
10                         . mkdir subdirectory problem fixed
11                 duplicity:
12                         . globbing support fixed in include and exclude options 
13                         . different signing and encrypting key support added
14                         . fixed erroneous comments in example.dup about the way
15                           GnuPG-related options are used
16                 mysql:
17                         . handler vserver bugs fixed and debug output enhanced
18         ninjahelper(s) changes
19                 vserver-related functions added to lib/vservers.in
20                 added man/ninjahelper.1 man page
21                 makecd:
22                         . was missing in Makefile.am/.in
23                 rdiff-backup:
24                         . used to expand '*' in default source directories
25                         . the "Cancel" buttons used to have a weird behaviour
26                         . updated to include Vserver selection 
27                 pgsql:
28                         . forbid the user to choose an empty database set 
29                         . "Cancel" button now does what it is meant to do
30                 mysql:
31                         . enhanced for vserver support 
32                         . now able to select databases and dump directory
33                 duplicity:
34                         . new handler added (with Vserver support)
35
36 version 0.9.1 -- November 05 2005
37         rearranged source so that it is relocatable with autotools
38                 (thanks to Petr KlĂ­ma petr.klima@madeta-group.cz)
39         fixed many bugs in rdiff helper
40         rdiff handler does not require 'label' (for real this time?)
41         added makecd ninjahelper
42                 (thanks to Stefani stefani@riseup.net)
43         made ninjahelper create files with mode 600 rather than 000
44         changed subversion handler to use svnadmin hotcopy instead of
45                 the unsupported hot-copy.py script, which was moved in Debian
46         update rdiff ninjahelper
47                 now detects and auto-install rdiff-backup on the remote 
48                 machine if possible, also tests the remote backup directory
49                 and offers to create it if it doesn't exist
50
51 version 0.9 -- October 19 2005
52         *** IMPORTANT CHANGE, UPGRADE AT ONCE ***
53          fixed insecure temporary file creation 
54         *****************************************
55         removed erroneous magic file marker in pgsql handler
56         fixed incorrect find positional
57         changed direct grep of /etc/passwd to getent passwd.
58         rdiff helper has much better information on failed ssh attempt
59                 (patch from cmccallum@thecsl.org).
60         rdiff handler now supports remote source and local dest. 
61                 (patch from cmccallum@thecsl.org).
62         man pages are greatly improved.
63
64 version 0.8 -- September 15 2005
65         added pgsql (PostgreSQL) handler, with vservers support.
66         added vservers support to duplicity handler
67                 Note: the configuration is a bit different than the rdiff
68                 handler's one, but the default behavior is the same:
69                 have a look at example.dup.
70         improved README
71         documented .disabled method.
72         corrected VROOTDIR default value.
73         added ninjahelper to the install instructions.
74         improved rdiff, dup and sys handlers' vservers support
75                 prevent vserver-debiantools' $VROOTDIR/ARCHIVES directory
76                 to be seen as a vserver
77         changes to sys handler
78                 make use of configurable $VSERVERINFO instead of hard-coded vserver-info.
79                 fixed dpkg existence test inside vserver.
80                 fixed $nodpkg use.
81         changes to pgsql handler
82                 now checks if the specified vserver is running.
83                 now checks if $PGSQLDUMP/$PGSQLDUMPALL are available where needed.
84                 now checks if "postgres" user exists on the host/vserver.
85         changes to ninjahelper
86                 check_perms() does not die anymore on group/world readable
87                 helper scripts (now consistent with the "helper scripts
88                 must not be group or world writable!" error msg).
89         xedit action now tries $EDITOR, then /etc/alternatives/editor,
90                 then nano, vim and vi, and aborts if none of these exists.
91         added helper for pgsql handler.
92         rdiff handler now does not require 'label'
93         changes to mysql and svn handlers' vservers support
94                 these handlers now check if the source vserver is running
95         added 'ignores' for mysql handler. (thanks Daniel.Bonniot@inria.fr)
96
97 version 0.7 -- July 26 2005
98         added ninjahelper: a dialog based wizard for creating backupninja configs.
99         considerably improved and changed the log file output.
100         you can now disable actions with .disabled (this is new preferred method).
101         added makecd handler and example.makecd for backing up to cd/dvd (thanks stef).
102         fixed bug when specifying multiple 'when' options.
103
104 version 0.6 -- June 16 2005
105         ldap handler has new options: backup method to use (ldapsearch or
106                 slapcat), restart, passwordfile and binddn. Default backup method
107                 is set to ldapsearch as this is safer
108         ******************************************************************
109         NOTE: to get the previous default behavior with the ldap handler, 
110         you must set "method = slapcat". The new default is ldapsearch.
111         ******************************************************************
112         implemented fix so that the main script will echo fatal errors rather
113                 than being silent about them, this means an error message every hour
114                 if there is a major configuration problem (not a handler problem)
115         added vserver support to main script and to the handlers: mysql, svn, sys, rdiff
116         changes to duplicity handler (thanks intrigeri!):
117                 "keep = yes" now disables file cleaning on desthost
118                 added "sign" option for backups signing
119                 added "encryptkey" option to specify the gpg key to use
120                 split config into [source], [gpg] and [dest] sections
121                 added "nicelevel" option
122                 added "testconnect" option
123                 added "sshoptions" option (will be passed to ssh/scp)
124                 added "bandwidthlimit" option
125         example.dup example config file for duplicity handler 
126         added trac (http://trac.edgewall.com/) environment handler (thanks Charles Lepple!)
127         added configfile option to mysql handler
128                 the default is /etc/mysql/debian.cnf. with this, 
129                 sqldump doesn't need dbusername. (hotcopy still does).
130         fixed bug in mysql handler which caused some passwords to not work.
131                 (.my.cnf files now have double quotes around password)
132         can now pass options to hwinfo and sfdisk in sys handler.
133
134 version 0.5 -- April 12 2005
135         rdiff handler works when remote sshd has a banner
136         rdiff handler supports local dest 
137         logfile is created if it doesn't exist
138         added "when = hourly" 
139         added optional 'nicelevel' to rdiff handler
140         fixed bug where actions were not run in numeric order.
141         improved 'when' parsing.
142
143 version 0.4.4 -- March 18 2005
144         results of handlers are now read line by line. 
145         changes to rdiff handler: added "options", and "keep" is
146                 not necessarily days now (ie, it will pass straight through to
147                 rdiff-backup if the keep has a unit on it, otherwise it adds the 'D').
148         added dup handler (still pretty beta)
149         added maildir handler (very specialized handler)
150         added --run option (runs the specified action file)
151         improved sys handler, now uses hwinfo
152         added subversion hotbackup handler, svn. 
153         added PATH to cron.d file, which fixes file not found errors.
154
155 version 0.4.2 -- Jan 6 2005
156         fixed bug which caused a report email to be sent even if no actions were run.
157         fixed bug where multiple handler status messages were ignored
158         added status in the subject line of report emails
159
160 version 0.4.1 -- Jan 3 2005
161         added $usecolors and now more conservative about when colors are echoed.
162         fixed major bug, 'when' actually works now.
163         replaced debug function with debug, info, warning, error, fatal.
164         added --now option to force all actions to be performed now.
165         
166 version 0.4 -- Dec 26 2004
167         added "when" option, so that all configs can specify when
168                 they are to be run.
169         added reportsuccess and reportwarning config options
170         added .sys handler (hardware, packages, partitions).
171
172 version 0.3.4 -- Dec 8 2004
173         fixed numerical variable quoting compatibility with older wc    
174         fixed stderr redirect bug
175         some comments in example.rdiff
176
177 version 0.3.3 -- Nov 10 2004
178         '*' (asterisk) works now in rdiff config files
179         works now with gawk as well as mawk
180         many bug fixes to ldap handler
181         paths to helper scripts can be configured in global config
182         does not require /usr/bin/stat
183
184 version 0.3.2 -- Sept 29 2004
185         handler scripts are no longer executable (to comply with debian policy)
186         handler error and warning messages are sent with the notify email
187
188 version 0.3.1 -- Sept 5 2004
189         added ldap handler
190         moved sh support to a handler script
191         add test mode, where no action is taken.
192         added --help
193         force only root can read /etc/backup.d/*
194         fixed missing equals symbols in example.rdiff
195         changed backupninja executable to be /usr/sbin rather than /usr/bin
196         
197 version 0.3 -- Oct 20 2004
198         ** IMPORTANT ** all config files are now ini style, not apache style
199         rewrote all scripts in bash for portability
200         added drop-in backupninja lib directory (/usr/share/backupninja)
201         all scripts are now run as root
202
203 version 0.2 -- Oct 14 2004
204         move distribution folder ./cron.d to ./etc/cron.d
205         fixed bug: removed printr of excludes (!)
206         added support for changing the user/group in rdiff sources.
207         added support for .mysql config files.
208         
209 version 0.1 -- Oct 8 2004
210         initial release 
211