I deleted my public_html and other folders. need help urgently

February 24, 2017 135 views
DigitalOcean Ubuntu 16.04

Hi
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

7 Answers

@mariiamosk

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

Have another answer? Share your knowledge.