I deleted my public_html and other folders. need help urgently

Posted February 24, 2017 2.1k views
DigitalOceanUbuntu 16.04

I wanted to upload files to my site using Filezilla and accidentally deleted all folders (public_html, etc.). Now I’m getting 404 every time.
How can I get them back or how to reinstall them?
I’m using VestaCP and Filezilla.
Thank you

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.

Submit an Answer
7 answers

Restore your backups.


As long as you have backups of your data, you should be able to restore without any issues. If you do not have backups, unfortunately, there would be no way to recover the files as DigitalOcean doesn’t perform routine backups of your VPS unless you specifically enable them.

Hi guys!
I tried to backup my data, but it didn’t work for me. Instead I’ve created one more user in my control panel and created new ftp, everything works great.
Thank you