I have a confession to make: I am a big fan of Mark Russinovich. His Sysinternals tools are indispensable to many Windows users, including myself. Now that he is Azure’s CTO, I can’t wait to see what breakthrough he is going to show us next.
In this post, I am going to show you how to configure NetBackup to back up to Azure cloud storage. My procedure is extracted from the NetBackup Cloud Administrator’s Guide Release 8.1. Refer to the guide for any restrictions.
- Create an Azure storage account
Obviously you need to have the main Azure account to begin with.
Navigate to All Resources > Add > Storage > Storage account – blob, file, table, queue.
Follow the wizard. Once your storage account is deployed, take note of the storage account name and access keys.
2. Create an Azure Storage Server in NetBackup
Now launch your NetBackup Administration Console and click the master server’s hostname at the top of the tree. On the right hand pane, click Configure Cloud Storage Server.
Follow the wizard and select Microsoft Azure for the Storage API type. Continue until you are asked the server name and account details.
Storage server name is a logical name of your choice. By default it is called my-azure.
If you have multiple media servers (master is also a media server), select one that you like but make sure NetBackup CloudStore Service Container service, also known as nbcssc, is running. For Windows media server, you can check via Task Manager, or use ps command and grep for nbcssc for UNIX/Linux media server.
Enter the Storage Account and one of the Access Keys you noted earlier.
Click Next and decide whether you want to enable compression and/or encryption. If you do enable encryption, follow the wizard to enter passphrases and key IDs. Keep them in a safe location. Click Next. This will bring you to the final confirmation page.
If there is no error you will be brought to the Disk Pool configuration wizard.
3. Create the Disk Pool
If you have already existing Azure container(s), they will be reflected in the volume list. If not, you can tell NetBackup to create one by clicking the Add New Volume button.
Enter a container name that you like and click add. This container will be created in Azure and shown under your Azure Storage Account.
If you do enable encryption, you will be prompted to create another passphrase.
Continue further and enter a Disk Pool name. After final confirmation, clicking Next will create the disk pool.
4. Create the Storage Unit
If you continue with the wizard, you will be prompted to create a storage unit. Simply give it a name and choose whether to use any available media server or only selected media server(s) to transport data.
For any potential media server that can transport data to the cloud, make sure NetBackup CloudStore Service Container / nbcssc service is running.
5. Test backup and restore
At this point, you can create a backup policy and point it to the storage unit you created in previous step. Test both backup and the restore and have fun.