How to Re-Initialize Veeam Backup for Salesforce Configuration Database Connection
| KB ID: | 4370 |
| Product: | Veeam Backup for Salesforce | 2.0 | 2.1 | 3.0 |
| Published: | 2022-10-27 |
| Last Modified: | 2024-09-18 |
Purpose
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:
-
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.
If this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.
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.