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