Backup SQL Server 2008 using Symantec Netbackup 7.0(Windows)
April 30, 2012 Leave a comment
Hello all,
Today we will discuss how to backup SQL Server 2008 using Symantec Netbackup.
It is assumed that Netbackup Server is installed and you already have set up connection between Master and Media servers. If it is so, let’s start.
First of all, you should install Netbackup Client on the server where SQL database is located.
Client Server Configuration
1. Download installation file from the internet(I will provide download link later)
2. Run Setup.exe
Click Next-> Check I agree….-> Next ->
enter Master Server Name
Let’s stop here! and add more actions before we do this.
* Add the following entries in C:\Windows\System32\drivers\etc\hosts
192.168.1.110 netBackupMaster
Master server ip and hostname .
Also you should have already opened connection between client server and master server (bidirectional TCP port 13724).
So my window look like this :
There may appear the window like this:
Click Yes –> Then Install-> Finish.
Prepare Backup Script
* Open NetBackup MS SQL Client (Start->All Programs->Symantec NetBackup->NetBackup Agents).
* Fill the section Userid and Passwod for SQL Server Standard or Mixed Security with the correct credentials.
*From the menu bar choose File->Backup SQL Server objects
** select databases
** choose Save instead of Launch immediately
** click Backup, save the .bch file in your desired location.
Master Server Configuration
In NetBackup Server Administration Console go to the Clients-> in the menu bar Actions-> Configure Client->
Enter the ip address of the client, where SQL Server is installed.
In the Client Properties window go to the section Servers –> Click first Add button and enter master server name(for me it will be netBackupMaster) , select entry in Additional servers and click Make Master. After this you should see in Master Server and Additional server text boxes the name of the master you entered now.
In the section Client Name check if the value is correct. Click OK.
Create Backup Policy
In Policies->
* Attributes
** Policy type: MS-SQL-Server
* Schedules
** indicate your desired schedule
* Clients
** Click New button and enter ip or hostname of the client, indicate its operating system…it is simple
* Backup Selection
** Click New button and find our created .bch script, click OK
Do Manual Backup to test it .
That is all.
In addition, create folder dbclient in C:\Program Files\Veritas\NetBackup\logs\ for troubleshooting purposes. There will be located log files, which is very useful for problem solving with Netbackup.