metalalisa
Basic Pleskian
Hi,
I have openSUSE 12.2 with Plesk 11.0.9 Update #48 and shell-script which makes remote backup with pleskbackup utility.
But after one of updates Plesk began to store backups in local storage too, but I don't need it.
How can I disable this behaviour?
pleskbackup.sh:
Thanks for help!
I have openSUSE 12.2 with Plesk 11.0.9 Update #48 and shell-script which makes remote backup with pleskbackup utility.
But after one of updates Plesk began to store backups in local storage too, but I don't need it.
How can I disable this behaviour?
pleskbackup.sh:
Code:
#!/bin/bash
maxbackups=2
file=./counter
counter=`head -n 1 $file`
let counter=counter+1
if [ "$counter" -gt "$maxbackups" ]; then
let counter=0
fi
`echo $counter > $file`
for domainname in `ls -l /srv/www/vhosts/ | grep ^d | awk '{print $9}'`
do
`/usr/local/psa/bin/pleskbackup --domains-name $domainname --output-file=ftp://login:pass@server.info/$domainname-$counter.xml.tar -vvv --exclude-domain-file=/root/pleskbackup/excludelist`
done
Thanks for help!