How can message queues be recovered from a crashed machine, so that transactional messages can be restored on a new machine?
MSMQ Disaster Recovery – How to recover message queues from a crashed machine
disaster-recoverymsmq
Related Topic
- Configuring transactional MSMQ on load-balanced servers
- How to see MSMQ in local Computer Management interface
- Powershell – How to retrieve names of all private MSMQ queues – efficiently
- Writing to an MSMQ queue over the network from a local account
- MSMQ messages disappear when they get to remote server
- When does an MSMQ message end up in the Dead Letter queue
Best Answer
Stop the MSMQ Service on both source and destination machines:
Delete the following folder on the destination machine and replace with the corresponding folder contents from the source machine:
Grant access to copied folder on the destination MSMQ service:
Configure MSMQ to ignore checkpoint files:
Open the queue properties in the following location. Files are text and can be opened with notepad.
Change the ‘Security’ field to match one from a working queue. An example is given below:
Restart the MSMQ Service on the destination machine:
Troubleshooting:
References:
Interpreting file names in the Storage directory in Microsoft Message Queue Server and in Microsoft Message Queuing
http://technet.microsoft.com/en-us/library/cc733512.aspx
http://blog.aggregatedintelligence.com/2012/03/msmqsecurity-descriptor-cannot-be-set.html