Gouache painting of two identical locomotives on parallel tracks with a vermilion switch lever moving one to a new line

Mirrored Database: Move Files Without Breaking Mirroring

To move the files of a mirrored database, change the file paths on the principal with ALTER DATABASE, stop both instances, move the files, and start them again in the right order. This post tests the T-SQL steps on a demo database and describes the mirroring steps from the documented behavior. It also covers what to check afterward.

Read More
Gouache painting of a small rowing boat carrying a red crate across a river with no bridge

Log Shipping Alternative for Databases in Simple Recovery Model

A log shipping alternative for a database in the simple recovery model is a second copy that restores the newest full backup and the newest differential backup. This post finds those two files from the backup history in msdb, restores them with MOVE and RECOVERY, and repeats the cycle on a schedule. It also states what you lose compared with real log shipping.

Read More