On my Reporting Server I created the SQL Job ‘DBA – Restore MyDatabase’ with two steps 1) Restore MyDatabase, and 2) Add Users.
Step 2 just de-orphaned some user accounts EG:-
EXEC sp_change_users_login 'Auto_Fix', 'uidServerLink';
Step 1 contained this code …
-- Restore EXECUTE [master].[dbo].[DatabaseRestore] @dbName = 'MyDatabase', @SourceServer = 'MySourceServer', @backupPath = 'M:\Backups' -- Change recovery model ALTER DATABASE MyDatabase set recovery SIMPLE
https://richardbriansmith.wordpress.com/2015/10/02/diff-backup-restore-part-1/
https://richardbriansmith.wordpress.com/2015/10/02/diff-backup-restore-part-2/
2 thoughts on “Diff Backup / Restore (part 3)”