cancel
Showing results for 
Search instead for 
Did you mean: 

What happens during a live SQL Server backup

NIKHIL234656595
Level 6

 

What happens during a live SQL Server backup ?

 

I just wanna know one or two liner steps in short.

1 ACCEPTED SOLUTION

Accepted Solutions

Will_Restore
Level 6

In simple terms, NetBackup says to SQL server - give me some bits!  It's up to SQL server to provide the right bits in the correct order. NetBackup server functions as a scheduler (when to run) and media manager (where to put the bits).

 

View solution in original post

7 REPLIES 7

Marianne
Level 6
Partner    VIP    Accredited Certified

Please answer these questions:

Using which backup method?

What have you tried so far to find this answer?

If using the NBU agent - have you tried reading through chapter 1 of the NBU for SQL manual?
(I know that you have this manual because you posted questions before).

If you did, you would see this topic in the manual:
How does NetBackup for SQL Server back up a database?

NIKHIL234656595
Level 6

SQL agent method.

I have read the manual.But it is not clear.

My doubt:When the SQL is not going down,then how the backup is consistent?

Marianne
Level 6
Partner    VIP    Accredited Certified

Please tell us what EXACTLY do you NOT understand about the second paragraph under this topic in the manual:

How does NetBackup for SQL Server back up a database?

If you don't understand the parts happening inside SQL, best to speak to your DBA.

Or just accept that the agent 'knows what to do'!

NIKHIL234656595
Level 6

I just wanna know the short descrption of the process in easy language.

NIKHIL234656595
Level 6

 

How does NetBackup for SQL Server back up a database?
From the NetBackup Microsoft SQL Client you can select the databases or the
database components that you want to back up. When you select an object for
backup, the GUI creates a batch file that contains a script. The SQL Server database
agent interprets this script. You can either execute the script immediately or save
it to run later. You can run a script later by including it in the backup selections
list of a backup policy.
When a backup script is executed, NetBackup for SQL Server does the following:
generates an SQL backup statement, logs into SQL Server, and delivers the SQL
statement to SQL Server through ODBC. Next, the database agent connects to SQL
Server through one or more VDI objects. One virtual device is created per backup
stripe. In addition, a VxBSA session is initiated for each stripe. These separate
sessions allow NetBackup to start a backup job for each stream that is generated
from SQL Server.
 
I have read this,but not able to find my answer.

 

Marianne
Level 6
Partner    VIP    Accredited Certified

Lets break that up into small pieces:

 

When a backup script is executed, NetBackup for SQL Server does the following:
 
  1. generates an SQL backup statement,
  2. logs into SQL Server, and
  3. delivers the SQL statement to SQL Server through ODBC.
  4. Next, the database agent connects to SQL Server through one or more VDI objects.
  5. One virtual device is created per backup stripe. In addition, a VxBSA session is initiated for each stripe.
 
These separate sessions allow NetBackup to start a backup job for each stream that is generated from SQL Server.
Which of these points do you NOT understand??
 
In all honesty, I am not a SQL dba, so I do not understand all of the SQL terminology either.
I don't need to understand.
 
The NBU developers worked with SQL developers to create a NBU plugin (dll) that KNOWS how to backup SQL online and pass the data to NBU.
 
That is all I need to know.

Will_Restore
Level 6

In simple terms, NetBackup says to SQL server - give me some bits!  It's up to SQL server to provide the right bits in the correct order. NetBackup server functions as a scheduler (when to run) and media manager (where to put the bits).