Discussion:
copying queues from server to server
(too old to reply)
Param
2010-02-05 06:47:34 UTC
Permalink
Hi all,

Is there a way to copy queues from one server to another? I have 2 Windows
2008 R2 machines and I have setup all my queues on 1 machine. I need to set
the same queues up on the other machine and was wondering if there was an
easy way to do this.

TIA!
John Breakwell
2010-02-05 10:58:43 UTC
Permalink
Hi Param,

If the queues are Public then no, there is not an easy solution. You could
write a script to copy the properties of the existing queues and create new
ones using the information.
Don't try copying the Active Directory objects that represent the queues as
the Queue ID must remain unique.

Private queues are easier to duplicate. Unlike Public Queues which have
their configuration stored in Active Directory, Private Queues use a local
file in the system32\msmq\storage\lqs directory. In theory, you could copy
the file for a queue to another machine and it would start up fine as long
as the security permissions weren't set to use local accounts from the
original server. Of course, this approach isn't supported.

Cheers
John Breakwell (MSFT)
Post by Param
Hi all,
Is there a way to copy queues from one server to another? I have 2 Windows
2008 R2 machines and I have setup all my queues on 1 machine. I need to
set the same queues up on the other machine and was wondering if there was
an easy way to do this.
TIA!
Loading...