How to recover deleted folders or files in AWS EC2?

0

Hello, How are you? Unfortunately, I deleted all files in /var/www/html/car_wash directory by mistake. I used following command

sudo rm -rf * /var/www/html/car_wash

This is my latest activity and I didn't overwrite any files and folders in this directory yet. How can I recover these deleted files? I am using AWS EC2 Linux instance and file system is ext4. I hope you to help me.

Thank you and regards.

demandé il y a 6 mois789 vues
1 réponse
0

At a filesystem level, the data is gone I'm afraid.

If you have a backup or snapshot of the EBS volume (which is likely to be the root volume) from a time when the now-deleted data was present, then you may be able to recover from that.

AWS doesn't backup customers' data by default, it's something that you would have had to setup yourself.

profile picture
EXPERT
Steve_M
répondu il y a 6 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions