Zimbra Next Generation Modules/Zimbra NG Backup/Restore on New Account

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

Zimbra NG Backup - Restore on New Account

Zimbra NG Backup - Restore on New Account

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.


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 Zimbra Next Generation Modules 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 Zimbra Next Generation Modules Administration Zimlet (see below)

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

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

  • On the Top Bar push the "Restore" button.

  • 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"

  • 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".

  • 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.

Click "Finish" to start the Restore.

Running a Restore on New Account via the Zimbra Next Generation Modules CLI

To start a Restore on New Account via the Zimbra Next Generation Modules 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

Zimbra NG Backup Restore on New Account tutorial Video

Coming soon

Zimbra Next Generation Modules


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