• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Plesk enable only remote backup

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:
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:[email protected]/$domainname-$counter.xml.tar -vvv --exclude-domain-file=/root/pleskbackup/excludelist`
done

Thanks for help!
 
Back
Top