Applicable to:
- Plesk for Linux
Symptoms
- The downloaded backup file does not contain valid data, its size is less than 1MB and opening it with a text editor, it shows the following content:
CONFIG_TEXT: Can not create temporary dir with the template '/backups/tmp/repo_transport_tmp_ykWcuS': No such file or directory.
- Migration log
/usr/local/psa/PMM/logs/migration.log
contains the following error:CONFIG_TEXT: INFO: CantCreateTempDir[76931fac-9dab-42b3-86c2-48b87d6ae33f]: Can not create temporary dir with the template '/backups/tmp/pmm-de-tmp-repo-JskFbQ': No such file or directory. [./TempFile.cpp:117]
- Default server backup repository is changed:
# grep DUMP /etc/psa/psa.conf
DUMP_D /backups
DUMP_TMP_D /backups/tmp
-
Directory specified in
DUMP_TMP_D
variable does not exist:# ls -ld /backups/tmp
ls: cannot access /backups/tmp: No such file or directory -
Or directory specified in
DUMP_TMP_D
variable has invalid permissions:# stat -c "%a %U %G %n" /backups/tmp
0744 user group /backups/tmp
Cause
Misconfiguration of the backup repository.
Resolution
- Connect to the server via SSH
Note: If direct SSH access to the server is not possible, contact server administrator for further assistance.
-
Create and/or set valid permissions to the directory specifed in
DUMP_TMP_D
variable with the following commands:# mkdir -p /backups/tmp
# chmod 1777 /backups/tmp
# chown root:root /backups/tmp
Comments
0 comments
Please sign in to leave a comment.