ZxBackup CLI parameters
Results 1 to 3 of 3

Thread: ZxBackup CLI parameters

  1. #1
    Junior Member
    Join Date
    Jul 2018
    Posts
    2

    ZxBackup CLI parameters

    Hi to everybody.

    Using web interface is possible to start external restore checking "Apply HSM Policy Now" option.

    There is an equivalent option in Command Line Interface?

    This is the help for CLI and i've not found HSM parameter (Zextras Suite v.2.6.7):

    ------------------------------------------------------------------------------------
    $ zxsuite help backup doExternalRestore

    Perform an External Restore

    Syntax:
    zxsuite backup doExternalRestore {source_path} [attr1 value1 [attr2 value2...]]

    PARAMETER LIST

    NAME TYPE EXPECTED VALUES DEFAULT
    source_path(M) Path
    accounts(O) Account Name[,..] all
    domains(O) Domain Name[,..] all
    filter_deleted(O) Boolean true|false true
    skip_system_accounts(O) Boolean true|false true
    skip_aliases(O) Boolean true|false false
    skip_distribution_lists(O) Boolean true|false false
    skip_coses(O) Boolean true|false false
    skip_account_provisioning(O) Boolean true|false false
    provisioning_only(O) Boolean true|false false
    notifications(O) Email Address
    concurrent_accounts(O) Integer
    max_file_size(O) Integer

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

    Usage example:

    zxsuite backup doexternalrestore /path/to/data/ accounts john@example.com,jack@example.com domains example.com filter_deleted false skip_system_accounts false
    Restores the example.com domain, including all system accounts, and the john@example.com and jack@example.com accounts from a backup located in /path/to/data/
    ------------------------------------------------------------------------------------

    Thanks for answers.

  2. #2
    Junior Member
    Join Date
    Jul 2018
    Posts
    2

    External restore and HSM policy

    Hi to everybody.

    Using web interface is possible to start external restore checking "Apply HSM Policy Now" option.

    There is an equivalent option in Command Line Interface?

    This is the help for CLI and i've not found HSM parameter (Zextras Suite v.2.6.7):

    ------------------------------------------------------------------------------------
    $ zxsuite help backup doExternalRestore

    Perform an External Restore

    Syntax:
    zxsuite backup doExternalRestore {source_path} [attr1 value1 [attr2 value2...]]

    PARAMETER LIST

    NAME TYPE EXPECTED VALUES DEFAULT
    source_path(M) Path
    accounts(O) Account Name[,..] all
    domains(O) Domain Name[,..] all
    filter_deleted(O) Boolean true|false true
    skip_system_accounts(O) Boolean true|false true
    skip_aliases(O) Boolean true|false false
    skip_distribution_lists(O) Boolean true|false false
    skip_coses(O) Boolean true|false false
    skip_account_provisioning(O) Boolean true|false false
    provisioning_only(O) Boolean true|false false
    notifications(O) Email Address
    concurrent_accounts(O) Integer
    max_file_size(O) Integer

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

    Usage example:

    zxsuite backup doexternalrestore /path/to/data/ accounts john@example.com,jack@example.com domains example.com filter_deleted false skip_system_accounts false
    Restores the example.com domain, including all system accounts, and the john@example.com and jack@example.com accounts from a backup located in /path/to/data/
    ------------------------------------------------------------------------------------

    Thanks for answers.

  3. #3
    Zextras employee Known ZeXtras Reseller
    Participant

    Join Date
    Aug 2016
    Posts
    88
    Hi, bbortolotti
    and welcome to our Forum!


    Quote Originally Posted by bbortolotti View Post

    Using web interface is possible to start external restore checking "Apply HSM Policy Now" option.

    There is an equivalent option in Command Line Interface?

    This is the help for CLI and i've not found HSM parameter (Zextras Suite v.2.6.7):
    No by design there isn't an equivalent option in the CLI since the HSM operation could increase the I/O workload. Furthermore, the doMoveBlob operation could be scheduled within the mailboxd or using crontab or checking the output of `zxsuite backup monitor` or `zxsuite backup getAllOperations`.

    Howevere, other user have asked for a similar feature, so keep an eye to the "News and Announcment" thread and to the changelog for any further enanchment

    Have a nice day!
    Luca,
    The ZeXtras Team
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •