SQL Backup
Latest version: 7.2
Notes & articles
Manually installing SQL Backup server components on clusters (Windows Server 2008)
This article applies to:
- Clusters running on Windows Server 2008 only.
If your cluster is running on Windows server 2003, refer to Manually installing SQL Backup server components on clusters (Windows 2003) instead.
- SQL Backup versions 5, 6 and 7
You can install SQL Backup on a Microsoft Cluster Service without using the clustering functionality of the SQL Backup installer. For example, you may want to do this if you have already experienced problems using the installer on a cluster.
This article describes:
- the licensing requirements
- how to clean up following a previous SQL Backup installation
- how to manually install SQL Backup as a clustered resource
- how you can test the installation
Licensing
You must have a SQL Backup Pro license for each server on which you want to install the SQL Backup server components. This means that each node (physical computer) must have its own license.
For example, a two node active-active cluster must have two licenses, and a two node active-passive cluster must also have two licenses.
A SQL Backup Pro license is always required because clustered SQL Server instances use a distinct IP address which is considered 'remote' when managed from the SQL Backup graphical user interface.
Cleaning up an existing installation
If you have already attempted to install SQL Backup on the cluster but the installation did not complete successfully, you must 'clean up' the SQL Server instances.
To do this, perform the following steps on each of the SQL Server instances on which the installation failed:
- Uninstall the server components using the Add or Remove Programs dialog box.
You will be asked whether you want to remove the SQL Backup file containing the history of the backup and restore activity. If you want to save or archive the data store, ensure you click No on this dialog box.
- Go to the SQL Backup branch in the registry editor:
To open the registry editor, on the Start menu, click Run, and then type
regedit.For all versions of SQL Backup on 32-bit servers, and for SQL Backup 6.4 and later on 64-bit servers, the branch is in:
HKEY_LOCAL_MACHINE\SOFTWARE\Red Gate
For SQL Backup 6.3 and earlier on 64-bit servers, the branch is in:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Red Gate
- In the next step you will delete the contents of the SQL Backup branch, so if you want to copy your settings back later you should export the branch; select the SQL Backup branch, and on the File menu, click Export.
- Delete the following settings from the SQL Backup branch:
BackupSettings\<instance>
BackupSettingsGlobal\<instance>
InstalledInstances\<instance>
where <instance> is the name of the SQL Server instance.
When you have performed these steps on the SQL Server instances as required, you can start the manual installation.
Installing manually
Important: Although they are similar, this manual installation process (for SQL Backup versions 5, 6 and 7) has critical differences from version 4. If you do not observe these differences, the installation will not be fully cluster-aware.
To install the SQL Backup server components, perform the following steps on each SQL Server instance in the cluster.
- To start the SQL Backup (server components) Setup Wizard, run SQBServerSetup.exe on the cluster node.
See Installing on a SQL Server cluster for more details.
The clustered SQL Server instances will be shown in the list of available instances in the wizard. When you select a clustered instance and click Next, the wizard displays the option to Install SQL Backup on all cluster nodes. Ensure you clear the check box.
Note:
- The account for the SQL Backup Agent Service application must be a domain account, and it must have sufficient privileges to run as a service, including the Log on as a service permission.
- The location for the SQL Backup data store must be a shared drive, accessible by all nodes in the cluster. This must be specified as a local path (for example, E:\SQLBackupData\(local)\), and not as a UNC path (for example, \\server\share\(local)\).
- The location for the SQL Backup server component files must be a local drive.
When the installation finishes, a warning will be displayed to inform you that the service is not running. This is expected when manually installing a cluster.
- Stop the SQL Backup Agent Service application if it is running, using the Services application.
Note: If you are stopping this service on a non-default instance, the service name will be in the form: SQL Backup Agent-<instance>.
- Go to the SQL Backup branch of the registry as follows:
To open the registry editor, on the Start menu, click Run, and then type
regedit.For all versions of SQL Backup on 32-bit servers, and for SQL Backup 6.4 and later on 64-bit servers, the branch is in:
HKEY_LOCAL_MACHINE\SOFTWARE\Red Gate
For SQL Backup 6.3 and earlier on 64-bit servers, the branch is in:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Red Gate
- Create or modify the registry keys in the SQL Backup branch as follows:
In BackupSettingsGlobal\<instance>:
Key
Type
Value
DataPath
string
A folder on the shared storage, for example:
S:\Program Files\Red Gate\SQL Backup\Data\<instance>
In InstalledInstances\<instance>:
Key
Type
Value
IsCluster
dword
1
where <instance> is the name of the SQL Server instance.
When you have completed these steps on all the SQL Server nodes in the cluster, create the clustered resource using the Failover Cluster Management tool:
- In the left-hand pane, expand the cluster, then expand Services and Applications.
- Right-click on the SQL Server group, click Add a Resource, and then click Generic Service.
The New Resource Wizard is displayed.
- Select SQL Backup Agent-<instance> from the list then click Next.
The list is not ordered alphabetically, so you may have to scroll through the entire list to find the SQL Backup Agent-<instance> resource.
Note: If the SQL Backup Agent service is already clustered, it will not be available in the list.
- Click Next on the Confirmation page of the wizard.
- Click Finish on the Summary page of the wizard.
The new resource has now been created (offline) and is listed under Other Resources.
- Under Other Resources select SQL Backup Agent-<instance>, then, on the Actions list click Properties for this resource.
The SQL Backup Agent-<instance> Properties dialog is displayed.
- On the General tab, enter the Startup parameters as
-i <instance> - On the Dependencies tab, we recommend that you add the SQL Server instance and the physical disk.
- On the Policies tab, select the If resource fails, attempt restart on current node option.
- On the Advanced Policies tab, ensure that all the nodes in the Possible Owners list are selected.
- On the Registry Replication tab, add the following registry keys (do not include the HKEY_LOCAL_MACHINE prefix):
For all versions of SQL Backup on 32-bit servers, and for SQL Backup 6.4 and later on 64-bit servers:
SOFTWARE\Red Gate\SQL Backup\BackupSettings\<instance>
SOFTWARE\Red Gate\SQL Backup\BackupSettingsGlobal\<instance>
For SQL Backup 6.3 and earlier on 64-bit servers:
SOFTWARE\Wow6432Node\Red Gate\SQL Backup\BackupSettings\<instance
SOFTWARE\Wow6432Node\Red Gate\SQL Backup\BackupSettingsGlobal\<instance>
- Bring the Clustered Resource online.
You have now completed the manual installation.
Testing the installation
To ensure that SQL Backup is clustered correctly, you can perform the following test. This procedure includes at least one failover of the resource group.
- Use the SQL Backup graphical user interface Back Up wizard to perform a backup, ensuring that you save the backup settings to a template by selecting the Save as template check box on Step 5 of the wizard.
The template will be included in the registry under BackupSettings\<instance>
- In Microsoft SQL Server Management Studio, list the backup that you have just performed by typing the following query:
master..sqbdata 'SELECT * FROM backuphistory'
- Fail over to the second node.
- Use the Back Up wizard to perform a second backup using the template you created.
If the registry keys have been correctly replicated, the template will be displayed in the list of templates in Step 1 of the wizard.
- In SQL Server Management Studio, list the backups you have performed by typing the following query:
master..sqbdata 'SELECT * FROM backuphistory'
If the data store has been correctly replicated, this will list both backups.
- If required, fail over to the first node.
Was this article helpful?
SQL Backup
- Backups stop working when the SQL account passwords are changed
- Backups and restores taking longer each time they run
- Improving performance by leveraging multi-processor hardware
- Checking the status of a backup or restore
- SQL Backup Agent doesn't start on named instance
- No backup files are erased when the verify option is also used
- Log shipping initialisation failing with error 3176
- Installing SQL Backup unattended
- Issues faced when upgrading an MSCS cluster server
- Cannot schedule log shipping on case-sensitive servers
- Activation fails because response does not match registration properties
- SQL error -1 on backup with 64-bit
- Could not find procedure 'master...sqbutility'
- 'Does not exist' error manually creating a generic service resource
- Backing up log shipping standby databases
- Stopping a backup or restore whilst in progress
- Backing up full-text catalogs using SQL Backup
- Cannot resolve collation conflict
- Microsoft cluster installation (version 4)
- Informing the SQL Agent of job failures
- Database log files may continue to grow even though transaction logs are backed up
- Cannot load xp_sqlbackup.dll
- Minimum Windows Rights Required for SQL Backup Agent
- Bringing a log shipping standby database online
- Console does not support editing the command you selected
- Malformed database disk image error
- Cannot use a local account to run SQL Backup Agent on cluster
- Preparing SQL Servers for remote installation
- SQL error 18210 and VDI error 1010
- Log shipping jobs not deleting old .sqb files
- Scheduled backups may not include new databases
- VDI error 1010 due to an abort request
- Cannot save or see backup templates
- Not all databases appear in the log shipping wizard
- No mapping between account names and security IDs was done
- SQL error 3101 (database is in use) during log shipping
- Insufficient quota to complete the requested service
- Configuring SQL Server procedure memory
- Backing up and restoring on SQL Server Express Edition
- Cannot run two database backups at the same time
- Restoring database backups across a local network
- In some situations the last compressed data block fails to be written to disk
- Configuring permissions for the SQL Backup Agent service
- Restoring backups from one server to a second server using the user interface
- Using SQL Backup tags to automate backup file naming
- VDI 1010 Error
- SQL Backup 5 cannot connect to servers running SQL Backup 4.0
- Files are created when NOWRITE or NOCOMPRESSWRITE is used in conjunction with multiple threads
- Cannot backup a database when full-text catalogs are not online
- Moving a full-text catalog on RESTORE
- Preventing backups over the network from timing out
- Deleting backup history manually
- SQL Backup installation from SQL Toolbelt installer only installs the console
- Console taking a long time to start up
- Reporting across multiple servers, login fails for user NT AUTHORITY\ANONYMOUS LOGON
- SQL Backup Agent cannot start due to account lookup error
- IO Error on backup or restore restart-checkpoint file
- Unable to edit SQL Backup Scheduled Jobs via the Jobs Tab in the SQL Backup GUI (version 5)
- VDI error 1000 caused by improperly installed VDI interface
- VDI Error 1000 caused by account lookup failure
- VDI error 1000 caused by insufficient permissions
- Error 193: %1 is not a valid Win32 application.
- Installing SQL Backup on a cluster
- Restoring the SQL Server MASTER database
- VDI Error 1010: Failed to get the configuration from the server because the timeout interval has elapsed
- Changing the default data location used by SQL Backup
- Index was outside the bounds of the array error during registration
- Repairing the SQL Backup server-side data store
- Troubleshooting slow backup and restore tasks
- Completed backup jobs showing "in progress" status (version 5)
- Restore wizard: files incorrectly labeled 'Missing' when browsing for a backup file to restore.
- When creating a backup job using the wizards some of the user databases may not be listed
- How to restore a filegroup
- System error 1453 while backing up (Insufficient quota to complete the requested service)
- SQL Backup VDI 1030: Failed to create VirtualServiceSet component
- Backups fail on named instances on custom ports
- SQL error 3101 (database is in use) during full database restore
- Error acquiring mutex occurring during use
- Transaction log continually growing on disaster recovery database
- Reseeding a disaster recovery database
- SMTP mail options not being saved
- SQL Backup Activation NullReferenceException Error
- Scheduling SQL Backup restore jobs
- SQL Backup Error 880: permission denied in database
- Deleting remote backup files after a specified time period (version 5)
- SQL Backup Unable to Login to Perform Backup or Restore
- Restore operation errors with exitcode 680
- "Failed to initialize local data store" error
- Trouble browsing network shares when backing up or restoring
- System error 32 (The process cannot access the file because it is being used by another process)
- Log backup failing because there is no current database backup
- Error locating server or instance of SQL Server
- How to set up log shipping between machines on different domains
- SQL Backup and CPU affinity
- SQL Backup mirrored backups
- Error trying to run backup job
- "Access to the database file is not allowed" error
- The server principal NT AUTHORITY\SYSTEM is not able to access the database
- Browsing while using SQL Server authentication is disabled on the selected server
- Cannot generate SSPI context message
- Log ship to multiple servers
- File browser does not work for remote servers
- Configuring Log Shipping to two Target Databases
- Previous backups not deleted according to ERASEFILES setting
- SQL Backup Reporting fails after upgrading to Version 6 from Version 5 for Multiple
- VDI error 1010 error on log backup when no backup is available
- SQL Backup failed with exit code: 1010 SQL error code: 3101 [SQLSTATE 42000] (Error 50000). The step failed.
- Log backup for a database failing to get copied to the log shipping share
- Mirrorfile backup jobs producing corrupt files
- Activity monitor showing sqlbackup status as wait type MSQL_XP
- Backup and restore processes using high percentage of CPU resources
- Warning 485: File does not exist encountered during a restore (but the process completes successfully)
- Log Shipping error 130 when moving restored file
- SQL Backup "Warning 110" generated
- Attempting to restore data into a SQL Express database that exceeds limit
- SQL error 3241 when restoring database
- A nonrecoverable I/O error encountered on Backup or restore operation
- SQL error 15404
- General log-in problem: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
- Warning: System error 1450 when Backing up
- Problems with "Auto-Close" option set when backing up
- Warning: System error 64 (The specified network name is no longer available) on backing up across a network
- SQL error 4208 encountered on backing up
- Warning 170: "Log files are not in sequence" - on log shipping (restore) operation
- Warning: System error 121 (The semaphore timeout period has expired)
- Changing your participation in the quality improvement program
- Installing SQL Backup server components unattended
- Changing your participation in the quality improvement program
- Verifying backups of the master database
- Log files
all SQL products
- Compatibility of Red Gate tools in 64-bit environments
- Application has encountered an error and needs to close
- Error message after installing SQL Toolbelt - The description for Event ID ( 1 ) in Source ( nview_info ) cannot be found.
- Changing the temporary directory used by the installer
- Toolbelt Installer "hanging" while "scanning volumes"
- Login failing with "trusted SQL Server connection" error when using RunAs
all products
- Some Red Gate products identified as containing a trojan by Anti-Virus software
- Activation may fail with Unknown Error -1
- Product uses web help although a CHM file is available locally
- Argument exception resulting from missing environment variable
- Check for updates may fail when used through proxies
- 'Unidentified Publisher' error when repairing or uninstalling
- Licensing activates product as standard edition
- Moving Red Gate software products to another machine
- Red Gate tools log locations
- The application UI opening slowly when there is no internet access
SQL Backup
- Getting help offline
- Using SQL Backup to back up to a network share
- Manually installing SQL Backup server components on clusters (Windows Server 2003)
- Manually installing SQL Backup server components on clusters (Windows Server 2008)
- Using SQL Backup log shipping to maintain a standby server
- SQL Backup release notes - version 6.xx
- SQL Backup release notes - version 7.xx
- Working with the new features in SQL Backup 6
- Using flexible licensing with SQL Backup Pro and SQL HyperBac
- Using SQL Backup Pro and SQL HyperBac together on the same server
all SQL products
all products
- Red Gate product acknowledgements
- Activating your products
- Activating your products
- Red Gate bundle history
- Check for updates
- Troubleshooting Check for Updates errors
- Current versions
- Deactivating your products
- Installing Red Gate products from the .msi file
- Requesting additional activations
- Serial numbers for bundles
- Reactivating using a different serial number
- Extending your trial
- Finding your serial numbers
- Moving a serial number from one computer to another
- No response received for manual activation
- Licensing and activation resources
- Licensing and activation resources
- Troubleshooting licensing and activation errors
- Licensing and activation FAQs
- Red Gate tools log file locations
- Download old versions of products
- Download product prerequisites & utilities
- Support & upgrades
- Upgrading your software
- Upgrading FAQs

Installing or upgrading SQL Backup