• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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