Zx Backup: Restore on New Account

From ZeXtras Suite Wiki

Jump to: navigation, search
Language: English  • español • português
Warning.png Warning!

This wiki is outdated and not maintained anymore, please refer to the new Zextras Documentation Hub at https://docs.zextras.com

ZxBackup logo box.png
This documentation is outdated.
Please refer to https://docs.zextras.com

What is the Restore on New Account?

The Restore on New Account procedure allows you to restore a the contents and preferences of a mailbox as it was in a moment in time, in a completely new account. The source account is not changed in any way, so that is possible to recover one or more deleted items in a user's account without actually rolling back the whole mailbox. When you run this kind of restore you can choose to hide the newly created account from the GAL as a security measure.

How does it work?

When a Restore on New Account starts a new account is created (the Destination Account) and all the items existing in the Source Account at the moment selected are recreated in the Destination Account, including the folder structure and all the user's data. All restored items will be created in the Current Primary Store unless the "Obey HSM Policy" box is checked.

Warning.png Warning!

When restoring data on a new account, shared items consistency is not preserved. This is because the original share rules refer to the original account's ID, not to the restored one's.

Running a Restore on New Account via the ZeXtras Administration Zimlet

A Restore on New Account can be ran in two ways

From the "Accounts" tab

Running the restore from the "Accounts" tab in the Zimbra Administration Consolle allows to operate on users currently existing on the server.
If you need to restore a deleted user, please proceed to the restore via the ZeXtras Administration Zimlet (see below)

  • In the Left Pane of the Administration Console select "Accounts" to show up the Accounts List.

RONA 01 b.png

  • Browse the list and select the account to be restored (Source) by clicking on it.

RONA 02 b.png

  • On the top bar, press the wheel and then the "Restore " button.

RONA 03 b.png

  • Select "Restore on New Account" as the Restore Mode and enter the name of the new account (Destination) in the text box. You can then choose whether to Hide in GAL the new account or not. When you're done choosing, press "Next"

RONA 04 b.png

  • Choose the restore date. Day/Month/Year can be selected via a minical, the hour via a drop-down menu, minute and second via two text boxes. Click "Next".

RONA 05 b.png

  • Verify all your choice in the Operation Summary window. You can also add additional email addresses to be notified when the Restore operation is finished. Pleas notice that the Admin account and the User who started the Restore procedure are notified by default.

RONA 06 b.png

Click "Finish" to start the Restore.

Running a Restore on New Account via the ZeXtras CLI

To start a Restore on New Account via the ZeXtras CLI, the doRestoreOnNewAccount command is available:

   zxsuite backup doRestoreOnNewAccount {source_account} {destination_account} {"dd/MM/yyyy HH:mm:ss"|last} [attr1 value1 [attr2 value2...]]


NAME                       TYPE                  EXPECTED VALUES               
source_account(M)          Account Name                                        
destination_account(M)     Account Name/ID                                     
date(M)                    Date                  "dd/MM/yyyy HH:mm:ss"|last    
restore_chat_buddies(O)    Boolean               true|false                    
notifications(O)           Email Address[,..]                                  

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

Usage example:

zxsuite backup dorestoreonnewaccount John NewJohn "28/09/2012 10:15:10"
Restores John's account in a new account named NewJohn

ZeXtras Backup Restore on New Account tutorial Video

Personal tools