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