Question

Linux File system restore to "/" partition

  • 28 February 2023
  • 3 replies
  • 174 views

Badge +1

Hello team,

 

We have VM backups configured for GCP machines in our environment. Now we have the below scenario as we need to update custom hostname for the machines through terraform which needs deletion and recreation of VM. The approach we followed is as below.

1. Take FS backup of the machine
2. Delete and recreate the machine with custom hostname
3. Have the FS backup restored to the newly created machine so that we have the system back to the state it was before the deletion.

While trying this approach we are encountering many issues like losing connectivity to the machine, data which says restored on the console but not visible at the OS level and so on. We had raised a support case as well and got an update that we cannot do a full "/" restore as this will overwrite the kernel OS file which will crash the system during the restore phase and OS level files/directory you should not overwrite on a running machine (/usr /etc /lib /root /boot etc)

 

Could someone please let us know what would be the best approach in this scenario. Full VM restore and 1-touch backup restore are not feasible options.


3 replies

Userlevel 4
Badge +12

Hi @Rekha 

The best way to perform a bare metal recovery is using a the 1 touch backup / restore method.

However as you mentioned 1 touch is not feasible, you may try the following manual method 

 

https://documentation.commvault.com/2022e/expert/24143_full_system_recovery_linux_file_system_agent_01.html

 

Regards,

Gowri Shankar

 

Badge +1

Hello @Gowri Shankar 

 

Thank you for your response. However, over the link it says, do not do restore to “/” partition. However in our systems we have only “/” partition available to which we have to restore. That’s where we are looking for the solution

Badge +4

can you filter out the folders or files that make it crash when you do the restore?

Reply