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