Moving Veeam ONE database to a different SQL Server

KB ID: 1599
Product: Veeam ONE | 6.0 | 6.5 | 7.0 | 8.0 | 9.0 | 9.5 | 10 | 11
Published: 2012-05-05
Last Modified: 2021-05-31
Languages: DE | FR | ES
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.

Purpose

You need to move the Veeam ONE database from the original SQL Server to a different SQL Server and change Veeam ONE Server configuration settings.

Solution

Follow these steps to migrate the database:

  1. Ensure that Veeam ONE service account has the required permissions on a new SQL server.

  2. Stop Veeam ONE services. 

  3. Backup Veeam ONE database (KB article).

  4. Restore the database on a new SQL server (KB article).
  5. Launch the Veeam ONE Settings utility available under the following path:
    C:\Program Files\Common Files\Veeam\Veeam ONE Settings\VeeamOneSettings.exe

  6. In the menu on the left, select General, open the Database tab and make the necessary changes in the SQL Server section.

     

  7. Click the Test Connection button to check whether new configuration settings are correct.

  8. Save changes, this will initiate Veeam ONE Services restart.

 

In some cases, the connection settings for the Veeam ONE Reporter and Business View (for old Veeam ONE versions) websites should be updated after the database migration.

To accomplish that, follow the next steps:

  1. In the list of services, locate Veeam ONE Reporter Server service and choose to modify its properties. Open the Log On tab and specify the necessary account for the service in the Log on as section.

  2. Make sure this account has sufficient privileges on the Veeam ONE database on the SQL Server side, as it will be used for data collection.

  3. Launch the Veeam ONE Settings utility available under the following path:
    C:\Program Files\Common Files\Veeam\Veeam ONE Settings\VeeamOneSettings.exe

  4. In the menu on the left, select General, open the Web Identity tab and make the necessary changes in the Web identity section.
    User-added image

  5. Save changes.

  6. Restart Veeam ONE Reporter Server service.

 

IMPORTANT!

  • Should the database be connected to a different Veeam ONE installation, make sure there is no version\build mismatch. Otherwise, the application will fail.
  • Starting with Veeam ONE v8, database partitioning became an option. If this option has been in place on the previously used SQL server, follow the steps described in this KB article to implement it on the new SQL server (for Veeam ONE v10 and v11 https://www.veeam.com/kb4175).
  • Starting with Veeam ONE v9.5, index defragmentation maintenance job for Veeam ONE database has been implemented. To create this job on the new SQL server download and run this script.

NOTE
Veeam One database partitioning jobs (VeeamOneSqlMaintenance_Med and VeeamOneSqlMaintenance_Med) and index defragmentation maintenance job (VeeamOne Maintenance Job) will remain intact on the old SQL server under SQL Server Agent > Jobs node and need to be removed manually.

More information

If you have any questions, contact Veeam Support.
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 reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

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 reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
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.