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

Find

Advertisement

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
Plesk MySQL Daily Backup Script

Add a comment

Leave a Reply

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

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement