The rebuild queues command removes all existing queues and rebuilds them. It cannot rebuild individual stable queues.
You can rebuild queues online or off-line, depending on your situation. Generally, you rebuild queues online first to detect if there are lost stable queue messages. If there are lost messages, you can retrieve them by first putting the Replication Server in standalone mode and recovering the data from an off-line log.
Both methods for rebuilding queues are described in more detail in the following sections. Refer to Chapter 3, “Replication Server Commands,” in the Replication Server Reference Manual for more information about rebuild queues command.