I have a 2012 SQL Server backing up to a 2nd 2012 SQL Server nightly. I have been manually restoring the database once a week using this,
USE [master]
go
RESTORE DATABASE [Power] FROM DISK = N'X:\Backups\Power.bak' WITH FILE = 1, MOVE N'PowerDatabase _Data' TO N'E:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\Power_data.mdf', MOVE N'PowerDatabase_Log' TO N'E:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\Power_log.ldf', NOUNLOAD, REPLACE, STATS = 5
I run reports off the restored data and it works fine. The only issue is that I have to reboot the server prior to restoring the data because I don't know how to automate the kill process. I would like to know the best way to update the data on a daily basis so that I can streamline this process. Any help would be greatly appreciated.