Zimbra Next Generation Modules/Zimbra NG Backup/Operation queue and queue management

Revision as of 13:11, 30 August 2017 by Jorge de la Cruz (talk | contribs) (1 revision imported: Zimbra NG)



Zimbra NG Backup - Operation queue and queue management

Zimbra NG Backup - Operation queue and queue management

Every time a Zimbra NG Backup operation is started - either manually or through scheduling - it is enqueued in a dedicated unprioritized FIFO queue. Each operation is executed as soon as any preceding operation is dequeued (either because it has been completed or terminated).

The queue system affects the following operations:

  • External Backup
  • All restore operations
  • Smartscan

Changes to Zimbra NG Backup's configuration are not enqueued and are applied immediately.

Operation Queue Management

Through the Zimbra Next Generation Modules Administration Console

Viewing the Queue

In order to view the operation queue, access the "Notifications" tab in the Zimbra Next Generation Modules Administration Zimlet and click the "Operation Queue" button.

warning

The Zimbra Next Generation Modules Administration Zimlet displays operations enqueued both by the Zimbra NG Backup and the Zimbra NG HSM modules in a single view. This is just a design choice, as the two queues are completely separated, meaning that one Zimbra NG Backup operation and one Zimbra NG HSM operation can be running at the same time.

Emptying the queue

In order to stop the current operation and empty Zimbra NG Backup's operation queue, enter the "Zimbra NG Backup" tab in the Zimbra Next Generation Modules Administration Zimlet and click the "Stop all Operations" button.

Through the Zimbra Next Generation Modules CLI

Viewing the Queue

In order to view Zimbra NG Backup's operation queue, the `getAllOperations` command is available:

zimbra@server:~$ zxsuite help backup getAllOperations

Syntax:
   zxsuite backup getAllOperations [attr1 value1 [attr2 value2...]]


PARAMETER LIST

NAME          TYPE       EXPECTED VALUES    DEFAULT
verbose(O)    Boolean    true|false         false

(M) == mandatory parameter, (O) == optional parameter

Usage example:

zxsuite backup getAllOperations
Shows all running and queued operations

Emptying the queue

In order to stop the current operation and empty Zimbra NG Backup's operation queue, the `doStopAllOperations` command is available:

zimbra@mail:~$ zxsuite help backup doStopAllOperations

Syntax:
   zxsuite backup doStopAllOperations 


Usage example:

zxsuite backup doStopAllOperations
Stops all running operations

Removing a single operation from the queue

In order to stop the current operation or to remove a specific operation from the queue, the `doStopOperation` command is available:

zimbra@mail:~$ zxsuite help backup doStopOperation

Syntax:
   zxsuite backup doStopOperation {operation_uuid} 


PARAMETER LIST

NAME                 TYPE    
operation_uuid(M)    Uiid    

(M) == mandatory parameter, (O) == optional parameter

Usage example:

zxsuite backup doStopOperation 30ed9eb9-eb28-4ca6-b65e-9940654b8601
Stops operation with id = 30ed9eb9-eb28-4ca6-b65e-9940654b8601


Zimbra Next Generation Modules

logo.png

Latest Version: 8.8

Zimbra Next Generation Modules Resources

Here you can find useful resources for your Zimbra NG Modules



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search