Restore Azure Files backups to the original SMB volume
To restore backed-up data along with metadata such as ACLs to the original Azure Files SMB volume, Microsoft recommends accessing the volume using the storage account name and access key.
To restore Azure Files data to the original SMB volume using NetBackup, create a Credential Management entry with the storage account name and access key.
To create the Credential Management entry:
- On the left, click Credential management. Under Named credentials, click Add.
- In the Add credential dialog, select the NetBackup option, and click Start.
- In the Basic properties tab, enter the Credential name. This name must be the same as the Azure Files Storage account name. Optionally, enter a tag and description for the credential. Click Next.
- In the Category tab, from the Category dropdown, select Storage key.
Under Access Details, enter the storage account in the format <Domain name>\<Storage account name>. Enter the Access Key for the Storage account.
- In the Permissions tab, add the roles that you want to assign to this credential.
- In the Review tab, verify the configuration. Edit if needed. When done, click Finish.
- On the left, click Recovery. On the Recover page, under Regular recovery, click Start recovery.
- In the Basic properties tab, select the policy type as NAS-Data-Protection. Select Restore type as Normal Backups or True image backups. Select the Source client from where you want to recover, and click Next.
- In the Recovery details tab, select a volume on the left to recover. You can click the volume on the left to see the contents of that volume on the right side, and select the required folder(s) or file(s) on the right to restore. You can click a folder on the left to see the individual files and folders inside, on the right. Select any file(s) or folder(s) to recover.
Click Edit to change the date range of the displayed images. Click Use date picker to provide the start and end time of the required interval. Click Use backup history, to see the entire backup history of the image. Select one or more required images and click Apply.
- In the Recovery options tab, select Restore everything to a different location. Select the NetBackup host for the target location. This must be a Windows computer. Enter the UNC path of the Azure Files SMB volume, for example, \\<storage account name>\<volume name> for the Target location.
- (Optional) Select Allow overwrite of existing files, Restore directories without crossing mount points, Rename hard links, and Rename soft links as required.
- Specify the number of simultaneous data streams that you want to use during restore, in the Number of restore streams per volume field. You can specify a value from 1 to 20. A higher number might affect network performance.
Note:
If you specify the number of restore streams as 1, then all the backup streams of a NAS volume are restored sequentially.
- Use the default media server for the restore, or specify a new one. Specify a job priority and click Next.
- In the Review tab, review all the parameters. To go back and change a parameter, click Previous. Click Start recovery.