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