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