#1 Global Leader in Data Resilience

Upgrading Veeam Agent for Microsoft Windows from 5.0.x to 6.1.x fails with: Failed to migrate data to new database.

KB ID: 4547
Product: Veeam Agent for Microsoft Windows | 6.1
Published: 2024-02-15
Last Modified: 2024-02-19
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please, try again later.

Challenge

When attempting to upgrade Veeam Agent for Microsoft Windows from version 5.0.x to version 6.1.x, after selecting the option to "Preserve all setting from your previous product installation," the migration of the configuration database fails with:

Failed to migrate data to new database: Failed to execute escalation commands for database VeeamBackup_export. Following table modifications were not applied: CreateTable action. Table name is 'Backup.Model.JobBackupCacheSyncStates_'
Migration Fail

Cause

Due to a change in the Veeam Agent for Microsoft Windows 6.1 installer, when upgrading from version 5 or older, the database migration process will fail if .NET 4.7.2 is not installed.

Note: .NET 4.7.2 is not required for Veeam Agent for Microsoft Windows 6.1 itself, it is a requirement of the database migration tool packaged with the Veeam Agent for Microsoft Windows 6.1 installer. This situation will be resolved in the next Veeam Agent for Microsoft Windows release.

 

Veeam Agent for Microsoft Windows 6.0 and later uses SQLite database instead of the Microsoft SQL Server 2012 Express LocalDB used in previous versions. If you install Veeam Agent for Microsoft Windows 6.0 and later on a computer with an existing Veeam Agent for Microsoft Windows 5.0 or older deployment using SQL LocalDB, migration to the new database can be performed during the upgrade of Veeam Agent. If the "Preserve all settings from your previous product installation" prompt is declined, no database migration will occur, and the deployment of Veeam Agent for Microsoft Windows will have no configuration.

Solution

.NET 4.7.2 is not required for Veeam Agent for Microsoft Windows 6.1 itself, it is a requirement of the database migration tool packaged with the Veeam Agent for Microsoft Windows 6.1 installer. This situation will be resolved in the next Veeam Agent for Microsoft Windows release.

 

Until the next Veeam Agent for Microsoft Windows release, the following solutions can be used to upgrade from Veeam Agent for Microsoft Windows 5 to 6.1.

 

Solution 1: Update .NET to at least 4.7.2

Install .NET 4.7.2, then run the Veeam Agent for Microsoft Windows 6.1 installer and begin the migration.

 

Solution 2: Upgrade Veeam Agent for Microsoft Windows to version 6.0 first, then upgrade to 6.1

If installing .NET 4.7.2 is not feasible, use the Veeam Agent for Microsoft Windows 6.0 installer to upgrade and migrate the configuration database, then upgrade to Veeam Agent for Microsoft Windows 6.1.

  1. Download Veeam Agent for Microsoft Windows 6.0 and upgrade to Veeam Agent for Microsoft Windows 6.0 first, the database migration complete without issue when running .NET 4.5.2.
  2. Then run the Veeam Agent for Microsoft Windows 6.1 installer to upgrade to 6.1.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please, try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please, try again later.