Tchater maintenant avec le support
Tchattez avec un ingénieur du support

NetVault Plug-in for SQL Server 12.2 - User Guide

Introducing NetVault Backup Plug-in for SQL Server Planning your SQL Server deployment Installing and removing the plug-in Configuring the plug-in Backing up data
Defining a backup strategy Understanding snapshot-based backups Reviewing the compression features Performing Online VDI backups Performing VSS backups in SQL Server Example of creating a full VDI backup of an AlwaysOn Availability Group on Windows
Restoring data Using the CLI with the plug-in Troubleshooting

Backing up replicated databases

Database replication is supported from SQL Server 2008 onward. Plug‑in for SQL Server supports all three types of replication: Transactional Replication, Merge Replication, and Snapshot Replication.

Replicated databases and their associated system databases should be backed up regularly, including the following:

The publication database at the Publisher.
The distribution database at the Distributor.
The subscription database at each Subscriber.
The master and msdb system databases at the Publisher, Distributor, and all Subscribers. These databases should be backed up at the same time as each other and the relevant replicated database.
For example, back up the master and msdb databases at the Publisher at the same time that you back up the publication database. If the publication database is restored, ensure that the master and msdb databases are consistent with the publication database in terms of replication configuration and settings.

The replicated databases can be backed up in the same way as the non-replicated databases with the plug-in. If you perform regular Incremental Transaction Log backups, any replication-related changes should be captured in the Incremental Transaction Log backups. If you do not perform Incremental Transaction Log backups, a backup should be performed whenever a setting relevant to replication is changed.

For more information, see Strategies for Backing Up and Restoring Snapshot and Transactional Replication, Strategies for Backing Up and Restoring Merge Replication, and Common Actions Requiring an Updated Backup in the SQL Server Books Online.

Reviewing the compression features

Before configuring a backup, review the following information. This information applies to all versions of SQL Server that the plug-in supports, although some of the features described are not supported by all versions of SQL Server.

If your version of SQL Server supports it, you can use the SQL Server Backup Compression feature. The plug-in also provides three levels of compression, low, medium, and high, which you can use whether or not your server supports SQL Server Backup Compression. You can also turn off compression.

The compression options include:

Use NetVault Backup Low Compression: This method, which is selected by default, provides good compression with minimal processor usage. Quest recommends that you select this option when compression is needed but minimizing processing is more important.
Use NetVault Backup Medium Compression: This method provides better compression but requires additional processor usage. Quest recommends that you select this option when improved compression is needed and additional processor usage during backup is not an issue.
Use NetVault Backup High Compression: This method provides the best compression. Quest recommends that you select this option when compression is the most important factor and processor consumption is not an issue.
Use SQL Server Compression as Set in the SQL Server Instance: This option is only available if the plug-in is connecting to a SQL Server Instance that supports the SQL Server Backup Compression feature. If SQL Server Backup Compression is enabled for this SQL Server Instance, the plug-in uses SQL Server Backup Compression for this instance. If it is disabled for this SQL Server Instance, the plug-in does not use SQL Server Backup Compression.
Use SQL Server Compression: This option is only available if the plug-in is connecting to a SQL Server Instance that supports the SQL Server Backup Compression feature. Specifying this option tells the SQL Server to use a SQL Server Backup Compression algorithm to compress the data stored on backup media.
Do Not Use Compression: To disable compression, select this option.

To view the compression ratio achieved after a backup job has run, click Job Status in the Navigation pane, and select the completed job, and click View logs. In the log that appears, locate a message that starts with “Compression Ratio.” To view additional information, select the line, and click More info. You can then view the total number of bytes of uncompressed data that was backed up, the number of bytes that was sent to the backup media, and the number of administrative bytes included as a header, which is also included as part of the compressed data statistic but are extraneous to the actual compressed data. The compression ratio that is reported in the log is [[(total uncompressed data) – (total compressed data)] x 100%] / (total uncompressed data). The number of header bytes is usually an insignificant part of the backup size, except when small databases are backed up using multiple NetVault Backup streams.

If you use the SQL Server Backup Compression feature, or if you choose not to use compression, the VDI Streams when NetVault Backup Compression is not used option is enabled.

If you use one of the NetVault Backup Compression methods, the VDI Streams/Compression Threads and Number of Parallel NetVault Backup Streams options are enabled. The VDI threads perform compression. During a backup, each VDI thread or connection accepts data from SQL Server, compresses it, and then writes it to the output device using a NetVault Backup stream. Because higher compression levels are more processor-intensive, consider making effective use of the number of processors available on the system running the NetVault Backup Client, that is, the system running the SQL Server Instance that you are backing up. For example, you might specify a number of VDI threads that is slightly less than the number of processors on your system. However, the number of backup streams should not exceed the number of output devices. For this reason, you must specify the number of VDI streams (VDI Streams/Compression Threads) and the number of NetVault Backup streams (Number of Parallel NetVault Backup Streams) separately. When you access the SQL Server Backup Options tab, the number of VDI streams initially displayed is one less than the number of processors detected on the NetVault Backup Client. The value specified in this field determines the number of VDI devices to be used for storing the backup job. In the default setting, all backup job options have one VDI device set to the job, when Use Virtual Device Interface (VDI) is selected. You can add additional VDI devices; however, the minimum number of VDI devices is 1, and the maximum number cannot exceed 64.

At the bottom of the VDI Backup Options section, the plug-in displays the number of processors on the NetVault Backup Client. If the processors use Hyper-Threading (HT), the number reflects it; a system with four physical processors and with HT enabled is identified as having eight processors. You can use this number when choosing the number of VDI streams if you use NetVault Backup Compression.

For optimal backup times when NetVault Backup Compression is used, base the entry for the Number of Parallel NetVault Backup Streams on the number of backup media. If your media uses striped disks, the fastest backup might occur with the number of backup streams set to the number of stripes. If the backup is writing to different hard drives that are not striped, with each NetVault Backup output device on a different hard drive, set the number of backup streams to the number of hard drives. If you are backing up to one or more VTLs on a single non-striped disk, use only one or two NetVault Backup streams. If you are backing up to a tape library with several tape drives, use no more backup streams, preferably fewer, than there are tape drives.

Whether or not you use NetVault Backup Compression, the number of VDI devices required for a restore is equal to the number that were used in the backup, and the number of backup streams required for the restore is also equal to the number that were used in the backup. If you use tape media and fewer tape drives are available for the restore than were used for the backup, the restore might fail. To avoid failure, Quest recommends that you use fewer NetVault Backup streams than you have tape drives available.

Using compression for Linux environments

The compression options include:

Use SQL Server Compression: This option is only available if the plug-in is connecting to a SQL Server Instance that supports the SQL Server Backup Compression feature. Specifying this option tells the SQL Server to use a SQL Server Backup Compression algorithm to compress the data stored on backup media.
Do Not Use Compression: To disable compression, select this option.
IMPORTANT: Linux only supports one VDI stream. If you select 2, the backup job generates a VDI OpenDevice fails error.

Performing Online VDI backups

An Online VDI backup using Plug‑in for SQL Server includes the steps outlined in the following topics.

Documents connexes

The document was helpful.

Sélectionner une évaluation

I easily found the information I needed.

Sélectionner une évaluation