Plesk Change Backup Location

By default, Plesk store backups in folder /var/lib/psa/dumps/. To move this to a differnt partition or directory, create a folder

mkdir /backup
chown psaadm:psaadm /backup
chmod 750 /backup

Edit file

vi /etc/psa/psa.conf


DUMP_D /var/lib/psa/dumps

Replace with

DUMP_D /backup

Move old backup to new location

rsync -avzP /var/lib/psa/dumps/ /backup/

Remove old backup directory, here i rename it to dumps-old, you can delete it.

cd /var/lib/psa
mv dumps dumps-old
ln -s /backup dumps

Restart Plesk

service sw-cp-server restart

Related Posts

Plesk MySQL Daily Backup Script

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *