let "actions_run += 1"
# call the handler:
- local bufferfile="/tmp/backupninja.buffer.$$"
+ [ if -x /bin/mktemp ]
+ then
+ local bufferfile=`mktemp /tmp/backupninja.buffer.XXXXXXXX`
+ else
+ DATE=`date`
+ sectmp=`echo $DATE | /usr/bin/md5sum | cut -d- -f1`
+ local bufferfile=/tmp/backupninja.buffer.$sectmp
+ fi
echo "" > $bufferfile
echo_debug_msg=1
(
removed erroneous magic file marker in pgsql handler
+ fixed insecure temporary file creation
version 0.8 -- September 15 2005
added pgsql (PostgreSQL) handler, with vservers support.
added vservers support to duplicity handler