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