SQL Backup Master 7 is Released

Key Metric Software is proud to announce the release of SQL Backup Master 7 – a new, major version of our award-winning SQL Server backup and recovery software.

This version includes a user interface overhaul, a powerful new dashboard view, greatly improved 7-zip compression support, and much more. See the what’s new page for details.

SQL Backup Master 7 is available for immediate download.

Posted: November 20, 2023 4:07 pm

Troubleshooting “Invalid backup chain detected” Messages

SQL Backup Master 6.3 includes a new feature called backup chain validation that is responsible for generating “invalid backup chain detected” messages. This article describes the goal and function of this feature.

Introduction

The goal of backup chain validation is to warn users when other third-party applications could potentially interfere with the SQL Server backup chain. Specifically, when a differential or transaction log backup is started, SQL Backup Master analyzes SQL Server’s backup history table and checks to see if the most recent backup was also created by SQL Backup Master.

If a possible conflict is detected, SQL Backup Master writes an “invalid backup chain detected” message to the log. Such messages can be logged as warnings (default) or errors, depending on backup job settings.

Note that copy-only database backups are ignored during backup chain validation, as they don’t interfere with the SQL Server backup chain. See below for details.

Why does it matter?

Why is it a potential problem if another software tool is also taking SQL Server backups?

In some cases, it won’t be. If a third-party software tool is taking copy-only SQL Server backups, those will not interfere with the backup chain so SQL Backup Master won’t warn about them. If you need to occasionally take a backup outside of SQL Backup Master (i.e. via SQL Server Management Studio, etc.) then creating a copy-only backup is a good option.

However, some third-party products will create snapshot backups (via Volume Shadow Copy Service) that will invalidate the backup chain. A broken backup chain can then trigger other backup errors or interfere with future restore efforts.

Troubleshooting

SQL Backup Master makes it easy to see if another software tool is taking snapshot database backups.

To start, select the Reporting tab in the main product window and select the Backup history report. Starting at around the time when SQL Backup Master logged the “invalid backup chain detected” message, look for preceding report entries with the Is Snapshot field set to True.

You can also look for report entries with a Backup set field that is not set to “SQL Backup Master backup”.

Solutions

If you’ve used the information above to determine that snapshot database backups are triggering this message, there are several possible solutions.

One option is to disable the SQL Writer system service, which VSS (Volume Shadow Copy Service) uses to create SQL Server database snapshots. To do so, Run services.msc, find the SQL Server VSS Writer service, stop it, and configure it to start up manually.

Another possible option is to determine which third-party backup solution is taking SQL Server database snapshots and configure it not to do so. For example, if you’re using Azure Backup you may wish to avoid using the SQL Server backup agent. Other Virtual Machine or cloud-based solutions may have backup features that can be similarly configured.

Finally, if you determine that the “invalid backup chain detected” messages logged by SQL Backup Master are not relevant for your environment, you can ignore them (if they’re configuring as warnings) or disable them entirely in the Database tab of the backup job settings window.

Once the problem is resolved, we recommend taking a manual full backup of any affected databases in SQL Backup Master to reset the backup chain.

Posted: June 8, 2023 1:40 am

Extended S3 Support in SQL Backup Master 6.3

SQL Backup Master v6.3 has arrived, and extends our (already excellent) S3 support by adding explicit support for IDrive e2 and a Custom S3-Compatible backup destination.

The new custom S3 backup destination makes it easier than ever to target a wide range of S3-compatible services and devices – including on-premises storage systems such as:

  • MinIO – A high-performance, S3 compatible object store built for large scale AI/ML, data lake and database workloads.
  • Cloudian Hyperstore – An S3-compatible object storage platform designed to manage limitless amounts of data in a cloud-native data format.
  • Ceph – A unified storage service with object, block, and file interfaces from a single cluster built from commodity hardware components.
  • LeoFS – An open source distributed object storage system and a highly available, distributed, eventually consistent storage system.
  • Riak S2 – An easy-to-operate, readily available, and highly scalable storage software optimized to store objects.

This new release also exposes additional service endpoints for Wasabi backup destinations, offers improved support for Azure blob service versions, and more.

SQL Backup Master v6.3 is available for immediate download.

Posted: May 18, 2023 7:36 pm

Authenticate to S3 using an EC2 IAM Role

With the release of SQL Backup Master v6.1.586.0, users running SQL Backup Master within an Amazon EC2 instance can now authenticate to their S3 buckets using an IAM role.

Use of this authentication option eliminates the need to enter S3 credentials into SQL Backup Master. Instead, SQL Backup Master will use the IAM role assigned to the EC2 instance to access your S3 buckets.

Configuring the EC2 Environment

If you haven’t already, you’ll need to establish an IAM role within AWS. To do so, create an EC2 role within the AWS IAM console, and grant it the AmazonS3FullAccess permission.

Then attach this new role to the EC2 instance that will be hosting SQL Backup Master.

For details on using an IAM role to grant EC2 application permissions, please see the following article:

https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html

Configuring SQL Backup Master

To verify that we’re using the credentials provided by the IAM role, install SQL Backup Master (v6.1.586.0 or later) on your EC2 instance.

Now, add an Amazon S3 backup destination and select the Authenticate using EC2 IAM role option. Leave the access key and secret key fields blank.

s3-iam-role-ec2

Finally, run your database backup job to ensure that backups to S3 are working as expected.

Posted: December 5, 2022 5:39 pm

SQL Backup Master 6 is Available

Key Metric Software has released SQL Backup Master 6 – a new major version of our SQL Server database backup tool.

New features include backup reporting (with optional scheduling and email delivery), webhook notifications, support for SQL Server 2022, and much more.

For a visual overview of what’s new, please see:

https://www.sqlbackupmaster.com/features/whatsnew

Download the new SQL Backup Master v6 release here:

https://www.sqlbackupmaster.com/download

Posted: July 11, 2022 2:00 pm

Back Up SQL Databases to OneDrive

STEP 1 – ONEDRIVE ACCOUNT CREATION AND SETUP

To create a OneDrive account, navigate to Microsoft OneDrive’s homepage , here you will select the Sign In button and input your Microsoft account information. After logging in to and verifying your Microsoft account, you will be taken to OneDrive.

STEP 2 – CONNECT TO YOUR SQL SERVER

Navigate to the Backup and Restore window of SQL Backup Master and select the New Backup button. In the Database Backup Editor window that shows up, click the Choose SQL Server button. The Connect to SQL Server window will then be brought up.

In the field with the label Server name, enter the name of the SQL Server instance that you are connecting to, or use the drop-down tab of the field to select one. Common examples include:

  • (local)\SQLExpress – Specifies the default SQL Express named instance on the local computer.
  • (local) – Specifies the local SQL Server installation (without an instance name).
  • Server1\SQLExpress – Specifies the default SQL Express names instance on a remote computer named “Server1”.
  • Server1 – Specifies an unnamed SQL Server instance on a remote computer named “Server1”.

Hit the Test SQL Connection button to test your connection to the SQL Server, then select OK.

STEP 3 – SELECT DATABASES TO BACK UP

After you’ve connected to a SQL Server instance, the Database Backup Editor window will appear, showing available databases in the Source column. Select the database(s) you want to back up as part of this backup job.

Enabling the Back up all non-system databases option will back up all new databases created on the targeted SQL Server automatically in the future. 

STEP 4 – ADD A BACKUP DESTINATION

Click on the Add button under the Destinations window header. This will pull up a window displaying all of the possible backup destinations for your SQL Database:

Double-click the selection box labeled OneDrive

The OneDrive Destination Settings window will appear. This is where you establish and authorize a connection with your OneDrive. Select the Authorize Now tab and input your Microsoft login information on the new window. 

Signing in to your Microsoft account and verifying your information through the browser will ask you to confirm SQL Backup Master’s access to your OneDrive. Select Yes to continue.

Next, you will be presented with a unique authentication code that will be required to continue verification. Copy this code with Ctrl + C, then exit out of the browser window. Back in SQL Backup Master, paste your authentication code into the text field of the Authorization Code window and click Ok.

Use the Test button on the OneDrive Destination Settings window to make sure you have successfully connected to your OneDrive account, then select Ok.

At the bottom right corner of the Database Backup Editor window, click on the Save icon to finalize your backup destination. 

STEP 5 – RUN THE BACKUP

In the main window of the application, select your newly created backup job and click the Back up now button to begin the backup for your OneDrive files.

If the backup job does not successfully complete, review the log file for further details.

Posted: June 8, 2022 11:43 am

Back Up SQL Databases to Backblaze

STEP 1 – Backblaze Account Setup

Navigate to the Backblaze B2 home page, then click the Sign Up button to begin account creation. Backblaze B2 will only require an email address and password to access the bucket creation page. 

STEP 2 – CONNECTING TO A SQL SERVER DATABASE

Head to the Backup and Restore window of SQL Backup Master and select New Backup. In the Database Backup Editor window that appears, select the Choose SQL Server tab. The Connect to SQL Server window will then be brought up:

In the Server name field, enter the name of the SQL Server instance that you are connecting to. Common examples include:

  • (local)\SQLExpress – Specifies the default SQL Express named instance on the local computer.
  • (local) – Specifies the local SQL Server installation (without an instance name).
  • Server1\SQLExpress – Specifies the default SQL Express names instance on a remote computer named “Server1”.
  • Server1 – Specifies an unnamed SQL Server instance on a remote computer named “Server1”.

Another way to find local and remote SQL Server instances is by using the drop-down arrow of the Server name field.

Click the Test SQL Connection button to test your connection, then hit OK.

STEP 3 – Select Databases to Back Up

Once you’ve successfully connected to a SQL Server instance, the Database Backup Editor window will show the available databases in the left-most column labeled Source. Select the databases you want to back up as part of this job.

You can also check the Back up all non-system databases Backblaze. Doing this will back up all new databases created on the target SQL Server in the future automatically. 

STEP 4 – Add a Backblaze B2 Backup Destination

Select the Add icon under the window header labeled Destinations. This will bring up a window displaying all of the possible backup destinations for your SQL Database:

Double-click the Backblaze B2 selection box. 

The Backblaze B2 Destination Settings window will appear. This is where you authorize a connection to Backblaze B2. This window asks for your Access key, Secret key, and Bucket. Input the required information, then use the Test button to make sure your information is correct and the connection is successful. 

Back at the Database Backup Editor window, use the Save icon to finalize your backup destination. 

STEP 5 – RUN THE BACKUP

In the main window of the application, select your newly created backup job and click the Back up now button to begin the backup for your OneDrive files.

If the backup job does not successfully complete, review the log file for further details.

Posted: June 8, 2022 11:40 am

Back Up SQL Databases to Amazon S3

STEP 1 – AMAZON S3 ACCOUNT CREATION AND SETUP

To create an Amazon S3 account, navigate to Amazon’s AWS home page and select Get Started with Amazon S3, and click on the Create a new AWS account button below the login field. Follow the instructions given by the AWS Console to get your account set up. 

STEP 2 – CONNECTING TO YOUR SQL SERVER

In SQL Backup Master’s main window, navigate to the Backup and Restore tab and select the New Backup button. In the Database Backup Editor window that is brought up, select the Choose SQL Server option. You will then see  the Connect to SQL Server window: 

From here, enter the name of the SQL Server instance that you are connecting to in the Server name field. Common examples of this include:

  • (local)\SQLExpress – Specifies the default SQL Express named instance on the local computer.
  • (local) – Specifies the local SQL Server installation (without an instance name).
  • Server1\SQLExpress – Specifies the default SQL Express names instance on a remote computer named “Server1”.
  • Server1 – Specifies an unnamed SQL Server instance on a remote computer named “Server1”.

Another option of finding local or remote SQL Server instances is to use the drop-down arrow of the Server name field.

Hit the Test SQL Connection button to test your connection to your server, then hit OK.

STEP 3 – SELECT DESIRED DATABASES TO BACK UP

Now that you’re connected to a SQL Server instance, the Database Backup Editor window will show up with the available databases in the Source column. Select the databases you want to back up as part of this job out of this list.

You can also use the Back up all non-system databases check box. Enabling this feature will back up all new databases created on the target SQL Server automatically. 

STEP 4 – CHOOSE S3 AS YOUR BACKUP DESTINATION

Under the Destinations header of the Database Backup Editor window, click the Add button to add a destination. This will make a new window appear, displaying all compatible backup destinations: 

 Select Amazon S3 by double-clicking the section box labeled Amazon S3.

The Amazon S3 Destination Settings window will then appear. This is where you will configure the credentials for your S3 account.

Pull up the Security Credentials page of your Amazon S3 account to find your Access key and Secret key. Copy (ctrl+c) and paste (ctrl+v) both your Access key and Secret key in the first and second text fields respectively, then input your preferred Bucket in the third. Your Bucket must already exist in your S3 storage account to be successfully used by SQL Backup Master.

After you have input your keys and bucket, and tailored your Amazon S3 Destination Settings to your preferred configuration, use the Test button to make sure everything is set up properly. Hit Ok after the test has completed successfully. Then select Ok on the Amazon S3 Destination Settings window to continue. 

Back at the bottom right corner of the Database Backup Editor window, click the Save icon to finalize and establish your backup destination. 

STEP 5 – RUN THE BACKUP

Back in the main window of the application, select your newly created backup and hit the Back up now button to begin backing up your SQL Server to Amazon S3.

If the backup job does not complete successfully, please review the log file for further details.

Posted: June 8, 2022 11:30 am

Back Up SQL Databases to Google Drive

STEP 1 – GOOGLE DRIVE ACCOUNT CREATION AND SETUP

To create a Google Drive account, navigate to the Google Drive home page and select the Sign up at no cost option near just under the Go to Drive button. 

Next, enter your contact information and required credentials to create your account. Once your account is created, you will be taken to the Google Drive main page.

STEP 2 – CONNECT YOUR SQL SERVER

In SQL Backup Master, navigate to the Backup and Restore tab, here select the New Backup button. Then the Database Backup Editor window will open, select the tab labeled Choose SQL Server. This will bring up the Connect to SQL Server window:

In the Server name field, enter or select the name of the SQL Server instance that you are going to connect to. Common examples include:

  • (local)\SQLExpress – Specifies the default SQL Express named instance on the local computer.
  • (local) – Specifies the local SQL Server installation (without an instance name).
  • Server1\SQLExpress – Specifies the default SQL Express names instance on a remote computer named “Server1”.
  • Server1 – Specifies an unnamed SQL Server instance on a remote computer named “Server1”.

Use the Test SQL Connection button to test your connection, then hit Ok.

STEP 3 – SELECT DATABASES TO BACK UP

Once you’ve properly connected to a SQL Server instance, the Database Backup Editor window will display all available databases under the Source label. Select the database(s) you want to include in this backup job

Checking the box labeled Back up all non-system databases will back up all new databases created on the target SQL Server in the future automatically.

STEP 4 – ADD A BACKUP DESTINATION

Click the button labeled Add under the window header labeled Destinations. This will bring up a window displaying all compatible backup destinations for your SQL Database:

Choose Google Drive by double-clicking the Google Drive selection box.

After choosing Google Drive as your destination, the Google Drive Destination Settings window will appear. This is where you establish a connection to Google Drive. Click on the Authorize Now button and input your Google login information on the new window. 

Signing in to your Google account through the browser will bring up the following window:

Select the Allow option then close the window to continue.

You can use the Test button in the bottom left corner of the Google Drive Destination Settings window to verify that you have a successful connection to your desired Google account, select Ok, then click the Ok button on the main window to continue. 

Back at the bottom right corner of the Database Backup Editor window, use the Save button to establish your backup destination. 

STEP 5 – RUN THE BACKUP JOB

Back in the main window of the application, select your newly created backup job and use the Back up now button to begin backing up your SQL Server to your Google Drive.

If the backup job does not complete successfully, please review the log file for further details on the failure.

Posted: June 8, 2022 11:18 am

Back Up SQL Databases to Box

STEP 1 – BOX ACCOUNT CREATION AND SETUP

On the home page of Box, select the Get Started tab from the website’s top banner and select the Box package that best fits your needs, then input the required personal information/business credentials. 

STEP 2 – CONNECT TO SQL SERVER

In the Backup and Restore window of SQL Backup Master, select New Backup. In the Database Backup Editor window that appears, select the Choose SQL Server tab. The Connect to SQL Server window will then be brought up.

In the field labeled Server name, enter the name of the SQL Server instance that you are connecting to. Common examples include:

  • (local)\SQLExpress – Specifies the default SQL Express named instance on the local computer.
  • (local) – Specifies the local SQL Server installation (without an instance name).
  • Server1\SQLExpress – Specifies the default SQL Express names instance on a remote computer named “Server1”.
  • Server1 – Specifies an unnamed SQL Server instance on a remote computer named “Server1”.

Another way to find local and remote SQL Server instances is by using the drop-down arrow of the Server name field.

Click the Test SQL Connection button to test your connection, then hit OK.

STEP 3 – SELECT DESIRED DATABASES TO BACK UP

Once you’ve successfully connected to a SQL Server instance, the Database Backup Editor window will show the available databases in the left-most column labeled Source. Select the databases you want to back up as part of this job.

You can also click the Back up all non-system databases check box. Enabling this option will back up all new databases created on the target SQL Server in the future automatically. 

STEP 4 – ADD A Box BACKUP DESTINATION

Select the Add icon under the window header labeled Destinations. This will bring up a window displaying all of the possible backup destinations for your SQL Database:

Choose Box by double-clicking the Box selection box. 

The Box Destination Settings window will then appear. This is where you authorize a connection to Box. Select the Authorize Now tab and input your Box login information in the new window. 

Next, you will be presented with a unique authentication code that you will need to continue verification. Copy this code with Ctrl+C and exit out of the browser window. 

Paste your authentication code into the text field of Authorization Code window:

Select Ok.

Use the Test button in the bottom left corner of the Box Destination Settings window to make sure you have a successful connection to your Box account, and select Ok, then hit the Ok button on the main window to continue. 

Back at the bottom right corner of the Database Backup Editor window, click on the Save icon to establish your backup destination. 

STEP 5 – RUN THE BACKUP JOB

Back in the main window of the application, select your newly created backup job and hit the Back up now button to begin backing up your Box files.

If the backup job does not complete successfully, please review the log file for further details on the failure.

Posted: June 8, 2022 11:03 am