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