Applicable to:
- Plesk for Linux
Question
How to change the location for temporary backup files in Plesk for Linux?
Answer
-
Connect to a Plesk server via SSH.
-
Create a new directory for temporary backup files. In these example, we are creating
/mnt/backupdrive/tmp
:# 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
/etc/psa/psa.conf
:4.1. Open the file
/etc/psa/psa.conf
in 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:
CONFIG_TEXT: # Backups directory
DUMP_TMP_D /mnt/backupdrive/tmp4.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
DUMP_TMP_D /mnt/backupdrive/tmpNow all temporary backup files will be stored in the directory
/mnt/backupdrive/tmp
.
Additional Information
To change the location for Plesk backups, visit this KB article.
Comments
0 comments
Please sign in to leave a comment.