Veritas NetBackup™ for Microsoft Azure Stack Administrator's Guide
- Introduction
- Pre-requisites for configuring the Microsoft Azure Stack plug-in for NetBackup
- Configuring NetBackup and Microsoft Azure Stack
- Overview of configuring NetBackup and Microsoft Azure Stack
- Managing backup hosts
- Adding a Microsoft Azure Stack custom role to provide access permissions to NetBackup administrator
- Configuring the Microsoft Azure plug-in using the azurestack.conf configuration file
- Creating a file that contains Microsoft Azure Stack credentials
- Adding Microsoft Azure Stack credentials in NetBackup
- Creating a BigData policy for Microsoft Azure Stack using the NetBackup Policies utility
- Stale Snapshot cleanup
- Performing backups and restores of Microsoft Azure Stack
- About backing up Microsoft Azure virtual machines
- About restoring Microsoft Azure Stack virtual machines
- About the restore scenarios for Microsoft Azure Stack VMs from the BAR interface
- Using the BAR interface to restore an Microsoft Azure Stack VM at the same location
- Using the bprestore command to restore Microsoft Azure Stack VM at the same location
- Using the BAR interface to restore an Microsoft Azure Stack VM to different location
- Using the BAR interface to restore an Microsoft Azure Stack VM with modified metadata at a different location
- Using the bprestore command to restore Microsoft Azure VM with modified metadata to an alternate location
- Using the bprestore command to restore Microsoft Azure Stack VM with modified metadata to an alternate region
- Troubleshooting
- About NetBackup for Microsoft Azure debug logging
- Known limitations for Microsoft Azure protection using NetBackup
- Backup fails with error 6662
- Backup fails with error 6661
- Backup fails with error 6646
- Backup fails with error 6629
- Backup fails with error 6626
- Backup fails with error 6630
- Restore fails with error 2850
- Backup fails with error 1
- Adding Azure Stack credentials to NetBackup fails with error 9101
- Adding Azure Stack credentials to NetBackup fails with error 7610
Using the bprestore command to restore Microsoft Azure VM with modified metadata to an alternate location
Run the following bplist command to list the files:
bplist -S master_server -C configuration_server_01 -unix_files -R 3 -t 44 -X -s <bktime> -e <bktime> "/21c71fdf-3ee5-4b57-8c51-18ebe7032237/skrg1/bkvm15" > listfile
Open the
listfilein the editor and remove the special characters at the end of the line. Remove all the paths that end with forward slash / that corresponds to directories.Run the following command on the NetBackup master server using the modified values for the mentioned parameters in step 1.
bprestore -S master_server -D backup_host -C client -R rename_file -t 44 -L progress log -f listfile | filenames
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 whitelisted file path in which to write progress information.
-t 44Specifies BigData as the policy type.
-R rename_fileSpecifies the name of a file with name changes for alternate-path restores.
For example:
bprestore.exe -S master_server_01 -D backup_host_01 -C configuration_server_01 -t 44 -L "<install_dir>\logs\restore.log" -R "<install_dir>\renam_file_path\restore.chg" -f listfile
Convert unmanaged disk to managed disk
change /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ headsrg4disks2.blob.vtasazs1.vxi.ver.com/vhds/sr-VM02-UMD20200826032144.vhd to /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ ManagedDisks:Standard_LRS/Heads-RestoreRG20/osdisk1
Convert unmanaged disk VM to managed disk VM to the same RG
change /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/VmName=sr-VM02-UMD to /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/VmName=sr-VM02-UMD-2md2
change /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD /Metadata/UseManagedDisk=No to /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/UseManagedDisk=Yes
change /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ headsuprg4disks2.blob.vtasazs1.vxi.ver.com/vhds/ sr-VM02-UMD20200826032144.vhd to /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ ManagedDisks:Standard_LRS/HEADS-SUB3-SR/osdisk1
Convert unmanaged disk VM to a managed disk VM with a different subscription
change /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/Vnet=Heads-sub3-sr-vnet to /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/Vnet=Heads-RestoreRG20-vnet change /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/VmName=sr-VM02-UMD to /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/VmName=sr-VM02-UMD-2md2 change /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/UseManagedDisk=No to /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/UseManagedDisk=Yes change /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/SubId=609c4f4d-5de7-4343-801b-6a3ac2364976 to /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/SubId=3f6a2463-d473-4639-a1d0-f762c4e0371a change /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/Size=Standard_DS1_v2 to /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/Size=Standard_DS2_v2 change /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/RgName=Heads-sub3-sr to /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/RgName=Heads-RestoreRG20 change /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/Nsg=sr-VM02-UMD-nsg to /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/Nsg=HeadsUp-RestoreRG20-nsg change /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/BootDiagnostics=headsuprg4diag398 to /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ Metadata/BootDiagnostics=headsupsta change /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ headsuprg4disks2.blob.vtasazs1.vxi.ver.com/vhds/ sr-VM02-UMD20200826032144.vhd to /609c4f4d-5de7-4343-801b-6a3ac2364976/Heads-sub3-sr/sr-VM02-UMD/ ManagedDisks:Standard_LRS/HeadsUp-RestoreRG20/osdisk1
Note:
Ensure that you have whitelisted all the file paths such as <rename_file_path>, <progress_log_path> that are not included as a part of NetBackup install path.