How to Re-Initialize Veeam Backup for Salesforce Configuration Database Connection
Purpose
This article documents how to change which account Veeam Backup for Salesforce uses to connect to its configuration database.
Solution
Scenario 1: Change Database Credentials When Existing Connection is Functioning
This scenario assumes the current connection to the database is valid and that you are simply updating user credentials.
- Create a new DB username/password in PostgreSQL.
- Grant that user permissions for the configuration database and schema.
- Within Veeam Backup for Salesforce, click Configuration, switch to the Salesforce section, then switch to the Database tab.
- In the top-right of the Database tab, click the Configuration Database button.
- Provide the new database username and password, and then click save.
The new user will be saved, and the connection will be re-established.
Scenario 2: Change Database Credentials When Existing Connection Is Unavailable
This scenario assumes there is no access to the Veeam Backup for Salesforce interface since the database connection is unavailable.
Note: Steps 1 and 4 are version-specific. All other steps are the same between versions of Veeam Backup for Salesforce.
- SSH into the server and navigate to:
- For Veeam Backup for Salesforce v2:
/opt/vbsf/vbsf-backend/
- For Veeam Backup for Salesforce v3
/opt/vbsf/vbsf-backend/config
- For Veeam Backup for Salesforce v2:
- Delete the following files:
- local.mv.db
- local.trace.db
- persistence-db.properties
- init.properties
- Restart the backend service.
- Get the access token:
For Veeam Backup for Salesforce v2
For Veeam Backup for Salesforce v3
-
In a browser, open the Veeam Backup for Salesforce URL with the access token from above.
Example:
- Follow the wizard and create a local administrator user password.
- On the Connect to PostgreSQL step, choose "Existing Installation" and provide the connection credentials.
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.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.