How to restore a Plesk server on a new Linux server from file system?




  • Avatar
    John Reddy (Edited )

    This is not clear, since disaster recovery inmho, means that the old server completely crashed and the data being restored is to a new server from a offsite full server backup. Nothing mentioned here if the old drive is not there nor is the old server? Also, what if there was no way of attaching the old drive to a new server.

    Please provide instructions on how to restore to a new server with a offsite full backup, or a link to that page as I couldn't find one.

    Comment actions Permalink
  • Avatar
    Ralf Göldner

    article does not describe what its title is!

    Disaster means you have no old server you can copy data from.
    Please rewrite this article or correct the name of its subject.

    Comment actions Permalink
  • Avatar
    meiner nichtdeiner (Edited )

    The article has been changed. It's a shame, disaster recovery is something that Plesk is still missing.

    Example: How do I restore a pleskserver backup that is on an (s)ftp server, on the same operating system and the same Plesk version, on a new server?

    Or: I create a rsync backup of my entire server, locally on my PC.

    How do I restore this with rsync on a new server, via ssh?

    Comment actions Permalink
  • Avatar
    Bernad Azria

    I removed curl from my server and then plesk-core and so on, removed.

    mysql, bind, all other services are working fine, but I can't access the plesk login page. I get the http 404 code. 

    how to use autoinstall and preserve all my services.

    Thank you.

    Comment actions Permalink
  • Avatar
    Tony Nygård

    This does not work for me.

    # for f in *.sql ; do dbname=$(echo $f | sed -e 's/\(.sql\)$//g'); MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin -e "create database $dbname"; MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin -D$dbname < $f; echo "$dbname restored" ; done


    ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
    -bash: .sql: No such file or directory

    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request