Unfortunately, I have used rm -rf *
command in EC2 RHEL7.2 Instance. So the core dependency, utility files got deleted.
Is there any steps to recover those files ? or How to rollback the server as running ?
I followed few steps to resolve but that is not helpful,
I have attached another server root device volume(/dev/sda1) to failure server root volume and openssh got succeeded.
Then, I copied all those files from /
source location to failure server volume(device) location and re-attached in failure server. Now the openssh server is not working, My guess I have copied all the files with their permissions. Is there any steps needs to be done ?