Question

Restore a zpanel backup on LEMP

  • Posted 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)
Subscribe
Share

Submit an 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.