How to change the location for temporary backup files in Plesk for Linux?
Connect to a Plesk server via SSH.
Create a new directory for temporary backup files. In these example, we are creating
# mkdir /mnt/backupdrive/tmp
Set required permissions for the created directory:
# chmod 1777 /mnt/backupdrive/tmp
Modify the backup location in the Plesk configuration file
4.1. Open the file
/etc/psa/psa.confin a text editor. In this example, we are using the vi editor:
# vi /etc/psa/psa.conf
4.2. Change the value of DUMP_TMP_D to the created directory from step 2:
# Backups directory
4.3. Save the changes and close the file.
4.4. Verify that the directory has been changed:
# grep -v ‘#’ /etc/psa/psa.conf | grep -w DUMP_TMP_D
Now all temporary backup files will be stored in the directory
To change the location for Plesk backups, visit this KB article.