How to change the location for Plesk backup files on a Linux server




  • Avatar

    Hi, i have changed that Backup Location and Backup works but Plesk Fails to Upgrade/ Update... 

    Some Errors: 

    "chown: changing ownership of '/mnt/dumps-box2/mysql.preupgrade.17.5.3-': Permission denied"

    "*** problem report ***
    ERROR while trying to backup MySQL database
    Check the error reason(see log file: /var/log/plesk/install/plesk_17.5.3_installation.log), fix and try again"


    I already chown psaadm and double checked that with new Location. 

  • Avatar
    Michael S.


    1. could you please tell me where is located plesk backup script. I would like to change it a little.

    2. Will it be exchanged if plesk will be upgraded anytime?

    Thanks a lot.

  • Avatar
    Artyom Baranov

    @Michael M.,

    1) The script is located at /usr/local/psa/bin/pleskbackup

    However, I have to notice, that such customization will not be supported. I suggest keeping a backup of the script in case something goes wrong.

    2) A custom script will be replaced during Plesk update in case it was changed by Plesk developers. And it will be always replaced in case of Plesk upgrade.

  • Avatar
    Stanisław Daszkiewicz (Edited )


    I have set up DUMP_D and DUMP_TMP_D for not standard folder (mounted disk on cloud service), and 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 opinin 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,


  • Avatar
    Daria Gavrilova

    Hello @Stanisław Daszkiewicz,

    Thank you for your question.

    To change and configure the default location for temporary backup files, please check the following article: How to change default location for temporary backup files

Please sign in to leave a comment.

Have more questions? Submit a request