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