On October 19, 2021, we have enabled single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
If you had already registered your account at Plesk 360 (formerly known as My Plesk) please use one for login. Otherwise please re-register it using the same email address as your existing Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account.

How to change the location for temporary backup files in Plesk for Linux

Follow

Comments

7 comments

  • Avatar
    Stanisław Daszkiewicz (Edited )

    Hello,

    Danila Gavrilowa pointed me to this article. The article in fact better suits the subject, but the problem remains.

    I have set up DUMP_D and DUMP_TMP_D for not standard folder (mounted disk on cloud service), jest like the article above instructs.

    # grep DUMP_TMP_D /etc/psa/psa.conf
    DUMP_TMP_D /mnt/disk_backup/tmp

    # ls -ld /mnt/disk_backup/tmp
    drwxrwxrwt 2 root root 12288 Aug 7 02:27 /mnt/disk_backup/tmp

    The backup creation process works well. But when I download backup file from remote ftp storage, the file is downloaded to /opt/psa/tmp/ (instead of DUMP_TMP_D), and then, after it is downloaded, it is moved to DUMP_D.  When there is not enough free space on the base partition (where /opt/psa/tmp is) i can't download the backup or restore a backup from remote ftp storage. (My backup files are big proportionally to partition size).

    In my opinion the file should be downloaded to DUMP_TMP_D.

    Please tell me if there is an option to change location of temporary download file or, if there is any other workaround of this problem with small base partition.

    Plesk 17.8.11 Update #62, Debian 8.11.

    Best regards,

    0
    Comment actions Permalink
  • Avatar
    Lenusch

    Julian Bonpland Mignaquy the first Link "https://support.plesk.com/hc/en-us/articles/213902125-Unable-to-download-a-backup-from-backup-repository-on-Plesk-server-page-not-found" is not working anymore. 

    Is there a save way to run Backup (TMP) Folder on NFS? 

    Without any Issues regarding backup and restoring? 

    0
    Comment actions Permalink
  • Hi Lenor,

    Such issue has to be fixed in the latest versions of Plesk.

    If this still happens to you on a up-to-date Plesk, please open a support request here.

    0
    Comment actions Permalink
  • Avatar
    Christian Vestol (Edited )

    After having upgraded from Onyx to Obsidian (days ago) the temporary location is no longer working, it's set to the same DUMP_TMP_D as worked before the update. However, our PGSQL database dump is for some reason using the /OPT/PSA/TMP folder as if the setting in this file (/HOME/PLESK/TMP) is being ignored and as a result, it runs out of disk space.

    No changes were done filesystem wise, it's the same temp folder as before the update and I have tried to set it again and restart the service to no avail. Assistance and tips on what to try would be greatly welcomed.

    0
    Comment actions Permalink
  • Hi Christian,

    Please open a support request here so that it can be investigated properly.

    0
    Comment actions Permalink
  • Avatar
    Sebastian Ayala (Edited )

    Hello Cristian, try to change both variables inside psa.conf:

    /tmp

    /var/lib/psa/dumps/

    To (for example):

    mnt/yourdrive/tmp

    mnt/yourdrive/var/lib/psa/dumps/

    Don´t forget to create the complete path folders in your drive and give 1777 permissions.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request