USE master

RESTORE DATABASE [arrdbdbname]

FROM  DISK = N'filePathToolarrdb.bak'

WITH  FILE = 1, 

MOVE N'arrdb' TO N'filePathLog\arrdbdbname.mdf', 

MOVE N'arrdb_log' TO N'filePathLog\arrdbdbname_log.ldf', 

NOUNLOAD,  REPLACE,  STATS = 10

GO

GO
RESTORE DATABASE [pacsdbdbname]

FROM  DISK = N'filePathToolpacsdb.bak'

WITH  FILE = 1, 

MOVE N'pacsdb' TO N'filePathLog\pacsdbdbname.mdf', 

MOVE N'pacsdb_log' TO N'filePathLog\pacsdbdbname_log.ldf', 

NOUNLOAD,  REPLACE,  STATS = 10
GO