Backup Selection Sets are essential for Incremental and Differential Backups. Create the Backup Selection Set during a Full Backup, and use it for Full, Incremental, and Differential Backups. The backup job reports an error if you do not use a Selection Set for the Incremental or Differential Backup. For more information, see the Quest NetVault Backup Administrator’s Guide.
1 |
2 |
In Job Name, specify a name for the job. |
3 |
4 |
In the list of plug-ins, open Plug‑in for SQL Server, and then open the All Instances node to view the individual instances. |
IMPORTANT: If you are backing up data that was set up for use in a Virtual Client, select the SQL Server Virtual Server, or the items contained within, for inclusion in the backup. If you are using multiple SQL Server Virtual Servers in the same cluster, select the correct SQL Server Virtual Server whose data you want to back up. The instance name displayed on this page is the SQL Server Virtual Server that was established as the Virtual Client during installation. Check that you run the process using the Virtual Client and not from one of the nodes. If you open or expand one of the nodes and drill down through the hierarchy, you might see a dimmed SQL Server Instance identified as local. While the system might use this instance in maintaining log information, do not run any processes at this level. |
5 |
The next step involves creating the Backup Options Set or selecting an existing one.
1 |
2 |
In the Backup Method section on the SQL Server Backup Options tab, select Use Virtual Device Interface (VDI). |
• |
Block Size (Bytes): This field allows for the input of a device block size, in bytes. The default value is 64KB, that is, 65536 bytes. |
• |
Transfer Multiple: The value specified in this field is used as a multiplier for the value specified in the Block Size field. The overall value of the two serves as the maximum allowable data transfer size; that is, the Block Size default of 65536 bytes multiplied by the default Transfer Multiple of 24, results in a maximum allowable transfer size of 1.6MB. |
4 |
In the Backup Type section, select the applicable option: |
• |
5 |
If you want to exclude read-only databases from the backup job, in the Database Options section, select the Do Not Backup Read-Only Databases option. |
6 |
In the Incomplete Backup of ALL Items Selected section, select the applicable option to instruct the plug-in on what it should do if this error condition occurs: |
• |
Complete with Warnings — Saveset Retained: The job returns a status of “Backup Completed with warnings” and a backup saveset is created that includes the items that were successfully backed up. |
• |
Complete without Warnings — Saveset Retained: The job completes and returns a status of “Backup Completed.” The errors are logged in the NetVault Backup binary logs and ignored on the Job Status page. A backup saveset is created that includes the items that were backed up. |
• |
Fail — Saveset Retained: The job returns a status of “Backup Failed.” However, a backup saveset is generated that includes the items that were successfully backed up. |
• |
Fail — No Saveset Retained: The job returns a status of “Backup Failed” and no saveset of backed-up objects is kept. That is, even if some of the objects were successfully backed up, the saveset is discarded. |
• |
If a fatal error occurs, the job returns a “Backup Failed” status. |
• |
If a Partial Database or Differential Partial Database backup is performed on a database whose backup target contains a read-only filegroup, the job returns a “Backup Completed with warnings” status. |
7 |
In the VDI Backup Options section, select the applicable Backup Compression option; Use NetVault Backup Low Compression is the default: |
8 |
If you selected one of the NetVault Backup Compression options, complete the VDI Streams/Compression Threads and Number of Parallel NetVault Backup Streams options, and then skip to Step 11. |
9 |
If you selected either of the options related to the SQL Server Backup Compression feature, enter the number of VDI streams in the VDI Streams when NetVault Backup Compression is not used field, and then skip to Step 11. |
10 |
If you selected Do Not Use Compression, enter the number of VDI streams in the VDI Streams when NetVault Backup Compression is not used field. |
11 |
If you selected a Backup Type of Differential Database or Incremental Transaction Log, and the Instance Node is selected, use the New Database Found in Differential/Incremental Backup option to specify what action to take if a new database is found: |
• |
Do full database backup: This option instructs the plug-in to perform a full backup of all databases added since the last Full Database backup. |
• |
Ignore: Selecting this option instructs the plug-in to ignore any databases created since the last Full Database backup; that is, any databases that were created after the last backup are omitted from the Differential Database or Incremental Transaction Log backup. |
12 |
If you selected a Backup Type of Incremental Transaction Log or Tail-Log, use the Transaction Log Options option to specify whether the inactive portion of the log must be truncated: |
• |
Normal: Select this option if you want the plug-in to truncate the inactive portion of the log file and make it available for re-use. This option is the default for Incremental Transaction Log backups. |
• |
No Truncate: Select this option to avoid truncation of the log during backup. This option must be selected for performing Tail-Log backups. |
IMPORTANT: When the Normal option is enabled, SQL Server automatically truncates the Transaction Logs after sending the backup Transaction Logs to the plug-in. When the No Truncate option is enabled, the Transaction Logs are not truncated. If the Normal option is used and the backup dies unexpectedly, the Transaction Logs are lost permanently. If the plug-in fails to write the index or dies, the Transaction Logs cannot be restored and those transactions have already been deleted from the SQL Server logs. This issue results in errors when attempting to restore Transaction Log backups that were created after the failed backup job. If this situation occurs, make a full backup of your database to eliminate the need for these logs during restoration. If the backup encounters normal errors, the Transaction Logs are not lost. |
13 |
If you want the plug-in to perform checksum on the backups, select the Enable Backup Checksum option, and then use Error Encountered During Checksum to indicate what the plug-in should do if it encounters an error. |
• |
Continue after error: With this default value selected, the backup job continues even if it encounters an invalid checksum. |
• |
Stop on error: With this value selected, the backup job fails. |
14 |
If you are backing up an AlwaysOn Availability Group, click the AlwaysOn Availability Groups tab, and select the applicable Backup Replica Selection Algorithm option: |
• |
Primary Only: To require NetVault Backup to use the primary replica, select this option. |
• |
Prefer Secondary: To instruct NetVault Backup to give preference to using a secondary replica or the primary replica if a secondary replica is not available, select this option. |
• |
Any Replica: To let NetVault Backup determine which replica, primary or secondary, to use, select this option. |
• |
Secondary Only (For Copy-Only Backup): To require NetVault Backup to use a secondary replica, select this option. |
IMPORTANT: To back up a Secondary Copy, select the Backup Type of Copy-Only. If you select a different Backup Type, the job fails.
|
• |
As Configured in SQL Server: To use the priority level set in your SQL Server configuration using SQL Server Management Studio, select this option. |
15 |
1 |
2 |
In the Backup Type section, select the applicable option: |
• |
• |
Block Size (Bytes): This field allows for the input of a device block size, in bytes. The default value is 64KB, that is, 65536 bytes. |
• |
Transfer Multiple: The value specified in this field is used as a multiplier for the value specified in the Block Size field. The overall value of the two serves as the maximum allowable data transfer size; that is, the Block Size default of 65536 bytes multiplied by the default Transfer Multiple of 24, results in a maximum allowable transfer size of 1.6MB. |
4 |
IMPORTANT: Linux only supports one VDI stream. If you select 2, the backup job generates a VDI OpenDevice fails error. |
5 |
Select the applicable Backup Compression option, Do Not Use Compression or Use SQL Server Compression. |
6 |
The final steps include setting additional options on the Schedule, Target Storage, and Advanced Options pages, submitting the job, and monitoring the progress by using the Job Status and View Logs pages. These pages and options are common to all NetVault Backup Plug-ins. For more information, see the Quest NetVault Backup Administrator’s Guide.
1 |
Use the Schedule, Target Storage, and Advanced Options lists to configure any additional required options. |
2 |
TIP: To run a job that you have already created and saved, select Manage Job Definitions in the Navigation pane, select the applicable job, and click Run Now. |
Microsoft provides a SQL Server VSS Writer that permits backup solutions such as Plug‑in for SQL Server to copy SQL Server data while SQL Server is running. VSS-based backups do not negatively affect SQL Server’s performance or stability.
A VSS backup using Plug‑in for SQL Server includes the steps outlined in the following topics.
IMPORTANT: Before initiating VSS backups, verify that the SQL Server VSS Writer service is running on the SQL Server. The SQL Server VSS Writer is automatically installed with SQL Server. However, the service is not enabled to start automatically. For VSS backups, start this service from the Windows Services panel — Start > Control Panel > Administrative Tools > Services. Quest recommends that you set the Startup Type for this service to Automatic. You can define a VSS backup job regardless of the state of this service. However, the job fails if it is run while the SQL Server VSS Writer service is not running. The log for the failed backup job contains a message stating “Please ensure the SQL Server Writer service is started.” |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center