Precondition
Case 1:
- 
Create a backup.
 - 
Restore the above backup.
 - 
Power off the volume attached node during the restoring.
 - 
Wait for the Longhorn node down.
 - 
Wait for the restore volume being reattached and starting restoring volume with state
Degraded. - 
Wait for the restore complete.
Note: During the restoration process, if the engine process fails to communicate with a replica, all replicas will be marked as
ERR, and the volume’sRestoreRequiredstatus cannot be set tofalse. Longhorn relies on theRestoreRequiredvalue to determine the completion of the restoration and whether the failed replicas can be automatically salvaged.In this case, the volume would remain in detached/faulted state.
 - 
Attach the volume and verify the restored data.
 - 
Verify the volume works fine.
 
Case 2:
- Repeat the steps from case 1 with an encrypted volume.