You are on page 1of 8

NetBackup Client Configuration

SQL Restore
To do a SQL restore we have to launch Netbackup MS SQL Client from a SQL server I usually do all restores to Cbicdg !otan then e"port the database and copy it to the user location#

Ne"t we want to configure the SQL properties to do the restore# Click on $ile% &estore SQL Server 'b(ects#

NetBackup Client Configuration


Select the SQL server from the drop down menu or type the server name in the SQL *ost area# Select the date range you want and click '+#

NetBackup Client Configuration


Now select the database you want to restore I selected an Incremental backup for this restore#

NetBackup Client Configuration


'nce you selected the database you need to configure the rest of the settings# Click on the drop down arrow for scripting and choose Create a move template this will allow you to move it to a different server# .ullet Stage full recovery. Click the drop down menu for &ecover and select Recovered. Then bullet Save and click on restore#

NetBackup Client Configuration


Type the name of the script you want I usually use the name of the database being restored# This time we will call it testrestore#bch (remember this name

Select !es which will open the script file in notepad#

NetBackup Client Configuration


The script file will need to be edited for the database to be moved to the new server with a different name# Color Code 1ellow Things to read &ed Things to delete .lue New database name 2reen New database path which has to be already created#

NetBackup Client Configuration


This is what the script would look like if we were restoring it to cbicdg !otan# 4ata would be on 5678atches and the new database name would be test restore# The lines in orange were modified then the script was saved#

NetBackup Client Configuration


'nce the script configured we need to go back to the NetBackup "dministration Console to create the (ob that calls this script# 2o to policies and select the 4. MSSQL 4. restore $ull policy# 1ou will notice that Cbicdg !otan is all ready a client of this group so we won:t have to add it# &ight click the .ackup selection on the bottom and choose change#

Now we have to take out the old script name and put in the new script name called testrestore#bch# and select '+#

Now right click on the policy and click on ;ctivate# Then right click on the policy and select manual backup# Then click '+ and the (ob will start running you can monitor it from the ;ctivity Monitor# <hen the restore is finished set the 8olicy back to 4eactivated by right clicking the policy#

You might also like