There are several ways of creating a backup of the database.
Using Veeam ONE Settings Utility (works for local SQL instances only)
To open Veeam ONE Settings utility use one of the options presented below:
- Open VeeamOneSettings.exe in C:\Program Files\Common Files\Veeam\Veeam ONE Settings
- Open the utility via Veeam ONE Monitor client > Options > Server Settings > Other Settings. Once you open the tab, you will find Support utility section. Click the Launch button.
To back up the Veeam ONE database to a .BAK file, click Create Backup and specify the location for the database backup file.
Using SQL Server Management Studio
- Open Microsoft SQL Server Management Studio with administrator permissions.
- Connect to the ServerName\Instance of the server that has the DB you want to back up.
- Expand the Databases tab to get to the DB you want to back up.
- Right click the desired DB > Tasks > Back Up.
- Set Backup Type to Full
- Specify the database file destination by choosing Back up to Disk option > Add the destination path to save the database backup.
- Go to Backup Options and set Set backup compression to Compress backup to reduce the database file size (the option is not mandatory).
- Click OK to start the Backup process.
Using SQL command line
In case you do not have the Management Studio installed, Veeam database can be collected using the SQLCMD utility:
- Open Veeam ONE Monitor client and check the lower part of the window for the SQL instance name and Veeam database name. Alternatively, check the same via Veeam ONE Settings Utility. See Using Veeam ONE Settings Utility (above) for access instructions.
- Open Windows command line or PowerShell prompt and run the following command to create a backup file:
for default instances:
sqlcmd -S SqlServerName -Q "BACKUP DATABASE [DbName] TO DISK=N'C:\backups\VeeamONEDB.bak'"
for named instances:
sqlcmd -S SqlServerName\SqlInstanceName -Q "BACKUP DATABASE [DbName] TO DISK=N'C:\backups\VeeamONEDB.bak'"
Note: In case you have SQL server authentication enabled you may define username using '-U' parameter
sqlcmd -U Username -S SqlServerName\SqlInstanceName -Q "BACKUP DATABASE [DbName] TO DISK=N'C:\backups\VeeamONEDB.bak'"