#1 Global Leader in Data Protection & Ransomware Recovery

How to use SQL Management Studio to Apply SQL-Based Hotfixes to the Veeam ONE Database

KB ID: 4414
Product: Veeam ONE | 10 | 11 | 12 | 12.1
Published: 2023-03-07
Last Modified: 2024-02-26
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.

Purpose

This article documents applying a SQL query script-based hotfix for the Veeam One database.

Solution

Identify the Location of the Veeam ONE Database

  • If Veeam ONE is installed, open the Veeam ONE Settings Utility to view the current SQL Server settings.
    C:\Program Files\Common Files\Veeam\Veeam ONE Settings\VeeamOneSettings.exe
Veeam ONE Settings
  • Alternatively, check the following registry values in the following key:
    HKLM\SOFTWARE\Veeam\Veeam ONE Monitor\db_config
    • host
    • db_name

Hotfix Deployment Guide

  1. Disable and Stop all Veeam ONE Services
    • Veeam ONE Monitoring Service
    • Veeam ONE Reporting Service
    • Veeam ONE Error Reporting Service
    • Veeam ONE Agent Service

To automate this, run the following commands in an Administrative Command Prompt.
Command prompt is used instead of PowerShell because older versions of PowerShell were unable to set service startup to delayed start.

net stop VeeamDCS
net stop VeeamOneAgentSvc
net stop VeeamRSS
net stop VeeamCRS
sc config VeeamDCS start= disabled
sc config VeeamCRS start= disabled
sc config VeeamOneAgentSvc start= disabled
sc config VeeamRSS start= disabled
echo Services stopped and startup types set to disabled.
  1. Download the hotfix provided by the Veeam Technical Support engineer.
  2. Unpack the hotfix archive.
  3. Back up the Veeam ONE database. See KB2356.
  4. Open Microsoft SQL Management Studio and connect to the SQL Instance hosting the Veeam One database.

    Note:
    • You may need to launch SQL Management Studio using Run as Administrator.
    • If the account you signed in to the SQL server does not have permission to access the SQL instance, you may have to use Run as different user to launch SQL Management Studio as a user who has access to the SQL instance.
  5. In Microsoft SQL Management Studio, use the Ctrl+O hotkey to open the hotfix script.
Open Script
  1. Ensure that the correct database is selected from the drop-down list.
Select DB
  1. Execute the hotfix query.
Execute
  1. Review the results and ensure that the script completes without errors.
Success
  1. Enable the Veeam One services and Start them.
    • Veeam ONE Monitoring Service – set to Automatic
    • Veeam ONE Reporting Service - set to Automatic (Delayed Start)
    • Veeam ONE Error Reporting Service - set to Automatic
    • Veeam ONE Agent Service - set to Automatic (Delayed Start)

To automate this, run the following commands in an Administrative Command Prompt.
Command prompt is used instead of PowerShell because older versions of PowerShell could not set service startup to delayed start.

sc config VeeamDCS start= auto
sc config VeeamCRS start= auto
sc config VeeamOneAgentSvc start= delayed-auto
sc config VeeamRSS start= delayed-auto
net start VeeamCRS
net start VeeamDCS
net start VeeamOneAgentSvc
net start VeeamRSS
echo Service startup set to default and started.
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.