Copy database to new instance

hi all,

made a new instance of bitwarden self hosted on a VM as want to migrate to this one from old one, used this how to

from my old server i have made a backup of the “bwdata” dir, am i right in thinking all i have to do is copy “mssql” dir to the new bwdata, restart bitwarden and then i will be able to log in

thanks,
Tony

ok my nightly backup restore failed

RESTORE DATABASE vault FROM DISK = '/etc/bitwarden/mssql/backups/vault_FULL_20241020_000000.BAK' WITH REPLACE
2> GO
Msg 3101, Level 16, State 1, Server b2e4c4323f9d, Line 1
Exclusive access could not be obtained because the database is in use.
Msg 3013, Level 16, State 1, Server b2e4c4323f9d, Line 1
RESTORE DATABASE is terminating abnormally.

my backups here

/opt/bitwarden/bwdata/mssql/backups/vault_FULL_20241020_000000.BAK