Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

SQL Server 2008, standard log shipping setup (well, using redgate, but it is a pretty normal flow).

On the replica, the log file is pretty big.

Wondering if on the backup/replica servers it is OK to shrink the log in some way?


share|improve this question
up vote 5 down vote accepted

The log file on the replica follows exactly the file on the master. They can't be different. You can shrink the master and the replica will automatically change to match.

share|improve this answer

Running DBCC SHRINKFILE without the TRUNCATEONLY option on the primary will propagate the change to the secondary once the log is applied, so it will shrink to the same size..

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.