How to change default location for temporary backup files

Follow

Comments

2 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

Please sign in to leave a comment.

Have more questions? Submit a request