How to restore Plesk system databases from a Plesk daily/pre-upgrade dump

Follow

Comments

3 comments

  • Avatar
    Curtis Maurand

    looking for the dump created by the repair tool

     

    0
    Comment actions Permalink
  • Avatar
    Ricardo E

    My server is running out of space. Is there a way to prevent daily dumps? Maybe limit the number of dumps to just 1?

    I was thinking in commenting the line "/usr/local/psa/bin/mysqldump.sh >/dev/null 2>&1" of /etc/cron.daily/50plesk-daily, is this safe and enough for prevent them?

    -----

    #!/bin/sh
    ### Copyright 1999-2017. Plesk International GmbH. All rights reserved.

    # install_statistics
    /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php >/dev/null 2>&1

    # install_mysqldump
    /usr/local/psa/bin/mysqldump.sh >/dev/null 2>&1

    -----

    Thank you

    0
    Comment actions Permalink
  • Avatar
    Kuzma Ivanov

    Hi Ricardo E

    We do not recommend to modify the mysqldump.sh script as the changes might be overwritten by Plesk updates.

    The best way would be to allocate more disk space to the server.
    You can also add another partition to your server and move data to this new location:

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request