0

I know it is my fault to authorize him as a superuser, and I don't have enough knowledge about CentOS 7.

As I wrote in the title, our VPS which runs CentOS 7 lost /usr/bin by mistake. And the server doesn't respond to ping even using its IPv4 address. Unable to access the server in the ways I know, SSH, FTP, HTTPS, SMTP, IMAP.

Are there any ways to fix this problem?

I can create a new instance, but I don't want to lose the data, especially mailboxes, MySQL stored data, web content.

5
  • 3
    Restore from backup.
    – Panki
    Jul 29 '20 at 10:21
  • 5
    Does your VPS host allow you to access the old VPS’s storage from a new VPS? Jul 29 '20 at 10:21
  • @Panki, thank you. I have no recent backup. Jul 29 '20 at 22:41
  • @StephenKitt Thank you, I'll ask it to the hosting company. Jul 29 '20 at 22:42
  • Ask your hosting company to put a rescue CD so that you can extract your data and then just create a new server and migrate the data to it Jul 29 '20 at 23:22
1

Are there any ways to fix this problem?

No, there is nothing we can do. However, there are some options for you:

  1. Restore from backup (this is easy if you have one, if not, next time you know better)
  2. Get support from your provider to ...
    • get access to the storage from a new VPS
    • let your provider access and backup your files for you
1
  • Thank you. I have no recent backup. I'll ask them to my provider. Jul 29 '20 at 22:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.