Using the bprestore command to restore Microsoft Azure Stack VM at the same location
You can use the bprestore command to restore a Microsoft Azure Stack VM in the same resource group.
To restore Microsoft Azure data on the same location as your backup location
- Log on as an Administrator or root user to the NetBackup master server on windows or UNIX system respectively.
- Run the following command on the NetBackup master server by providing appropriate values:
bprestore -S master_server -D backup_host-C client -t 44 -X -s <bktime> -e <bktime> -L progress log -f listfile | filenames "/subscription ID/resource group/VmName"
Where,
-S master_serverSpecifies the name of the NetBackup master server.
-D backup hostSpecifies the name of the backup host.
-C clientSpecifies a configuration server as a source to use for finding backups or archives from which to restore files. This name must be as it appears in the NetBackup catalog.
-f listfileSpecifies a file (listfile) that contains a list of files to be restored and can be used instead of the file names option (filenames). In listfile, list each file path must be on a separate line.
-L progress_logSpecifies the name of allowed list file path in which to write progress information.
-t 44Specifies BigData as the policy type.
"/subscription ID/resource group/VmName"Specifies the Microsoft Azure Stack VM that you want to restore.
-X -s bktime -e dateStart and end date for backup image selection. with X option one could specify timestamp instead of human readable format, Refer to bprestore command in the Commands Reference Guide.