Quantcast
Channel: Veeam Support Knowledge Base
Viewing all articles
Browse latest Browse all 4362

Moving Veeam ONE database to a different SQL Server

$
0
0

Challenge

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

To change SQL Server or database connection settings for Veeam ONE Server, you can use the Veeam ONE Settings utility.

To modify connection settings, follow the instructions below.

Provision a domain account for Veeam ONE Monitor and Veeam ONE Reporter on the new SQL Server. This can be one account or two different accounts. Move the database to the new SQL Server. Depending on Veeam One version, grant the account(s) appropriate permissions:

 
Veeam One 6.xdb_owner 
Veeam One 7.xSystem Administrator
Veeam One 8.xSystem Administrator
Veeam One 9.0System Administrator
Veeam One 9.5Public role (default permissions)
CREATE ANY DATABASE permissions
db_owner role on the Veeam ONE database
public, db_datareader, SQLAgentUserRole permissions on the msdb database
[For Always-On Availability Groups] VIEW SERVER STATE permissions 
  

Next, modify the accounts that are used by monitoring and reporting components of Veeam ONE.

First, modify connection settings for Veeam ONE Monitor. To accomplish this, perform the following steps:
  1. Launch the Veeam ONE Settings utility available under the following path:

    C:\Program Files\Common Files\Veeam\Veeam ONE Settings\VeeamOneSettings.exe

  2. In the menu on the left, select General, open the Database tab and make the necessary changes in the SQL Server section.
    User-added image

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

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

  5. Save changes.

  6. Restart Veeam ONE Monitor Server service.

Then modify connection settings for Veeam ONE Reporter and Business View. 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. Make sure this account has sufficient privileges on the Veeam ONE database on the SQL Server side, as it will be used for overall Web UI operation and reports creation.

  6. Save changes.

  7. 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. 
  • 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 or problems, please contact Veeam Support at http://www.veeam.com/support.html

Viewing all articles
Browse latest Browse all 4362

Trending Articles