Frequently Asked Questions - SQL Server iDataAgent

How do I install SQL Server iDataAgent on a computer where Microsoft SQL Server Software is not Installed?

Use the bIgnoreSQLServerCheck registry key to install the Microsoft SQL iDataAgent on a computer that does not have the Microsoft SQL server software installed.

Is Microsoft Windows Vista Supported?

Backups using the the SQL Server iDataAgent on Windows Vista are supported as long as the same User account (and not the local system account) is used to run the CommVault Communications Service (GxCVD) and for the SQL instance. See Running Services Using a Windows User and User Accounts for more details. Back to Top

How are Transaction Logs Truncated?

Truncation of transaction logs use the following rules:

Can I Run Log and Full Backups Simultaneously?

Yes. Full and log backup operations can run simultaneously for the same subclient. However, a full backup needs to exist prior to running them together. After a full has been run, subsequent parallel backups will work since the risk of breaking the chain will be lessened. When full and log backup operations are run simultaneously, the conversion rules will not be honored.

Note that running full and differential backups at the same time is not supported.

How do I Backup a SQL Database in Windows SharePoint Services (WSS)?

To successfully backup a SQL Database in a Windows SharePoint Services (WSS) environment, where the instance name of the Windows Internal Database resembles something like MachineName\Microsoft##SSEE, you need to:

  1. Change the flag Hide Instance to No in SQL Server Configuration ManagerProtocols for MachineName\Microsoft##SSEE.
  2. Ensure that the SQL Server Browser service is running in SQL Server Configuration ManagerSQLServer 2005 Services.
  3. Ensure that Named Pipes is enabled in SQL Server Configuration ManagerProtocols for MachineName\Microsoft##SSEE.

When does a Non-Full Backup Automatically get Converted to a Full Backup?

A non-full backup is automatically converted to a full backup in the following situations:

What happens if I have two databases with the same name?

If you set the SQL Server collation option to case-sensitive and two databases with the same name are created, the system will only discover one database.

What do I do when I upgrade the SQL Server to a newer version

The system will automatically detect and display the newer version in the CommCell Console as follows:

However, if a SQL Server instance on which backups have been run is upgraded to a newer version and subsequently restored to a time prior to the SQL Server upgrade, the database will display the older version. To convert the database to a newer version, perform a full backup of the database after the restore.

How do I restore multiple SQL Server Databases to a consistent time?

For some SQL server environments, you may have multiple databases for which absolute synchronization of the databases after a restore is critical. Transaction Mark restores and Point In Time restores are two means of keeping your databases synchronized.

Follow the steps in Restoring SQL Server Databases to a Transaction Mark and Restoring SQL Databases to a Point in Time to restore the databases to a consistent time

How Does Transparent Browse work for SQL Server?

 The transparent inclusion during Browse operations provides the ability to restore data to a selected point in time. When restoring databases to a Transaction Mark or when using a Point in Time restores, the restore chain consists of the most recent full, the latest differential (if any), all subsequent log backups taken prior to the selected browse time, and, transparently, the next log backup after the browse time.

Are there any considerations when restoring databases backed up by VSS?

What are restore chains?

When you pick a restore time, the system determines the optimal combination of full, differential and log backups necessary to bring back the database(s) to the selected time. This combination of backups is the restore chain.

In what order should system databases be restored?

What does the “Unconditionally Overwrite Existing Database or Files” do?

When this option is selected, the data being restored is unconditionally written to the specified location and overwrites the files of any database that is currently using the database name specified by you. This implements the T-SQL REPLACE command.

When this options is not selected, the restore job prevents the accidental overwrite of data files by failing the job.

What is the difference between instance restore and multiple databases restore?

When you perform an instance restore, all the databases are restored in one simultaneous job. However, if you select multiple databases that are not system databases, they are restored as multiple jobs.

How are the transaction logs used when browsing the backup data for a File/File Group restore?

When a browse operation is performed, files that existed as of the most recent full backup but were removed later will be included in the search results due to the replaying of the logs. Conversely, if a file was created after the most recent full backup, the search results will not present it for selection but the transaction log will re-create this file as part the restore.

How can I reclaim space after transaction log is truncated?

Use the DBCC SHRINKDATABASE command for Microsoft SQL Server to reduce the size of transaction logs, this will help reclaiming space. For using the command, refer to Microsoft article DBCC SHRINKDATABASE (Transact-SQL) at http://msdn.microsoft.com/en-us/library/ms190488.aspx.