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