0

This morning while I was doing a bit of work on my production server, when I accidentally executed the following command:

sudo rm -r /*

Sadly, the server no longer accept my public key or password for any user via SSH.

And files were hosted on /home directory instead of /var/www is there any way to restore the files?

And after this incident happen I took AWS Snapshot of AWS EC2. Then Relaunch it by taking new server.

Although I lost the all my files and project. But I discovered that I still have database. As I've also hosted another application under /var/www directory it seems to running fine.

Would it possible to recover the mysql database from Secondary Image on server?

I tried running executing previous mysql_user and mysql_password on my new server it is not authenticating.

Maqsud
  • 111

0 Answers0