Sign in
agent:

Alternative Recovery Options(Backup and Restore File Permissions in Linux)

There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
  1. 1

    Restore from VM Snapshot

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
    • Purpose: Use if ACL restoration doesn’t resolve the issues, and system stability or integrity is compromised.
    • Considerations:
    1. Not always suitable for production as it may revert all changes made post-snapshot, leading to data loss.
    2. Ensure snapshots are taken regularly and before major changes.
    1
    1. 1.1

      List available recovery points(Azure VM)

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      • Note: This example is for the case of an Azure VM.
      az backup recoverypoint list \ --resource-group <myResourceGroup> \ --vault-name <myRecoveryServicesVault> \ --backup-management-type <backup_mgmt_type> \ --container-name <myVM> \ --item-name <myVM> \ --query [0].name \ --output tsv
      copied
      1.1
    2. 1.2

      Restore the disk from your recovery point(Azure VM)

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      • Note: This example is for the case of an Azure VM.
      az backup restore restore-disks \ --resource-group myResourceGroup \ --vault-name myRecoveryServicesVault \ --container-name myVM --item-name myVM \ --storage-account mystorageaccount \ --rp-name myRecoveryPointName \ --target-resource-group targetRG
      copied
      1.2
    3. 1.3

      Create a VM from the restored disk

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

      Create or Modify a VM from the restored disk to achieve the previous "good" state of the system.

      1.3
  2. 2

    Rebuild the VM

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
    • Purpose: Recommended if both ACL restoration and VM snapshots are ineffective or if the system is too compromised to recover.
    • Steps:
    1. Prepare a new VM installation using system backups.
    2. Restore data and configurations from backups.
    3. Reapply permissions manually or via scripts if available.
    • Note: Rebuilding the VM can sometimes be the safest way to ensure system integrity, especially when configuration drift or untracked changes are suspected.


    2