Report this

What is the reason for this report?

Restore a zpanel backup on LEMP

Posted on October 22, 2014

Hi, How can I restore my website from a zpanel-backup into LEMP stack?

  • I’m on Centos 7 with LEMP stack
  • the Zpanel backup contains ( database-backup.sql and the website folder)


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Transfer the mysql dump to your droplet and import it:

mysql -u root -p database-name < /path/to/database-backup.sql.sql

Then create a MySQL user for your site: How To Create a New User and Grant Permissions in MySQL | DigitalOcean.

Finally, copy the files to /var/www or /var/www/html (depending on your setup) and you should be good to go.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.