/
Task 2.4.5: Recover Custom Database, SQL Server Alternative
Badger TraCS Guides
Task 2.4.5: Recover Custom Database, SQL Server Alternative
\Task 2.4.5(b): Recover Custom Database, SQL Server Alternative
Note: It is recommended that you contact badgertracs@wi.dot.gov to help you assess your agency’s situation. There may be less drastic options available depending on the extent of the damage.
Purpose: Recreate the TraCS Custom database when it is destroyed beyond repair and no backups exist.
Requirements: TraCS Installation files, access to field unit with TraCS mobile installed.
In SQL Server Management Studio (SSMS)
Paste the query below to create the tracs_custom database. You should use the copy button in the code snippet below.
USE master
GO
CREATE DATABASE tracs_custom
GO
use tracs_custom
GO
DECLARE @sql1 VARCHAR(1000)
SELECT @sql1='ALTER DATABASE '+quotename(db_name())+' SET ALLOW_SNAPSHOT_ISOLATION ON
ALTER DATABASE '+quotename(db_name())+' SET SINGLE_USER WITH ROLLBACK IMMEDIATE
ALTER DATABASE '+quotename(db_name())+' SET read_committed_snapshot ON
ALTER DATABASE '+quotename(db_name())+' SET MULTI_USER'
exec(@sql1)
, multiple selections available,
Related content
Task 2.4.4: Recover Data Database, SQL Server Alternative
Task 2.4.4: Recover Data Database, SQL Server Alternative
Read with this
Task 2.1: Back Up Critical Files
Task 2.1: Back Up Critical Files
Read with this
Task 2.4.1: Recover Log Database, SQL Server Alternative
Task 2.4.1: Recover Log Database, SQL Server Alternative
Read with this
Task 2.4: New Server with no backups
Task 2.4: New Server with no backups
Read with this
Task 2.4.2: Recover Users Database, SQL Server Alternative
Task 2.4.2: Recover Users Database, SQL Server Alternative
Read with this
Task 2.4.3: Recover Support Database, SQL Server Alternative
Task 2.4.3: Recover Support Database, SQL Server Alternative
Read with this
email badgertracs@dot.wi.gov or call 608-267-2096