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 backup an existing database.To restore a full database backup.
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.x | db_owner |
Veeam One 7.x | System Administrator |
Veeam One 8.x | System Administrator |
Veeam One 9.0 | System Administrator |
Veeam One 9.5 | Public 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:
-
Launch the Veeam ONE Settings utility available under the following path:
C:\Program Files\Common Files\Veeam\Veeam ONE Settings\VeeamOneSettings.exe -
In the menu on the left, select General, open the Database tab and make the necessary changes in the SQL Server section.
-
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.
-
Click the Test Connection button to check whether new configuration settings are correct.
-
Save changes.
-
Restart Veeam ONE Monitor Server service.
Then modify connection settings for Veeam ONE Reporter and Business View. To accomplish that, follow the next steps:
-
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.
-
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.
-
Launch the Veeam ONE Settings utility available under the following path:
C:\Program Files\Common Files\Veeam\Veeam ONE Settings\VeeamOneSettings.exe -
In the menu on the left, select General, open the Web Identity tab and make the necessary changes in the Web identity section.
-
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.
-
Save changes.
- 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.