CLI command
session-bus restore
Replace the bus database with a backup, safely.
Stop serve first: restore exits 3 while anything holds the database lock. It stages the backup, checks that it is a bus database, gives it a new bus instance id and only then replaces the live file.