Server

Backup & Restoring Tips for Large Files in Plesk 11.0.9

When it comes to Plesk Backup Manger there are few things that you might need to configure in order to backup large files successfully.

For backing up, Plesk stores backups in “/usr/local/psa/PMM/tmp” and in most dedicated servers, you have limited amount of space in this directory so we are going to create a symbolic link from “/var/lib/psa/tmp” to “/usr/local/psa/PMM/tmp”.

1. Stop psa by using the following command.

/etc/init.d/psa stop

2. Make tmp directory

mkdir /var/lib/psa/tmp

3. Set permissions
chown psaadm:psaadm /var/lib/psa/tmp
chmod 755 /var/lib/psa/tmp

4. Remove tmp from PMM directory

rm -R /usr/local/psa/PMM/tmp

5. Create a symbolic link
ln -s /var/lib/psa/tmp /usr/local/psa/PMM/tmp

6. Start psa or restart your server
/etc/init.d/psa start

Now for restoring you need to change the DUMP_TMP_D setting in “/etc/psa/psa.conf” to “/var/tmp”.

1. Stop psa by using the following command.
/etc/init.d/psa stop

2. Use your favourite editor and edit psa.conf
nano /etc/psa/psa.conf

3. Change DUMP_TMP_D to /var/tmp

4. Start psa or restart your server
/etc/init.d/psa start

Server
Server