Zextras Backup: Undelete Restore

How many times does it happen that, while cleaning up unwanted or unnecessary emails (newsletters, old emails…) you find yourself deleting one or more messages that you didn’t want to remove or that you actually needed again? And especially if after deleting messages you decide to empty the trash!
But not all is lost. With the Undelete Restore function of Zextras Backup you can solve the problem.

In fact, Undelete Restore allows an administrator to restore all items deleted from a mailbox in a period of time and put them into a dedicated Zimbra folder inside the mailbox itself.

HOW IT WORKS

The Zextras Backup engine, dure an Undelete Restore, is going to search the backup datastore for items that are flagged as DELETED and then restores them in a dedicated folder inside the mailbox.

It can be both done via Admin interface and command CLI:

Running an Undelete Restore using Administration Console

You can perform an Undelete Restore using Administration Console. Below are the steps to be done:

  1. From the left pane select “Accounts” to show the accounts list, then select the account to be restored browsing the list.
  2. On the top bar press the wheel icon and then “Restore” button.
  3. Select “Undelete” as the Restore Mode and press “Next” to continue.
  4. Now it’s time to choose the date and time slot. You can use the minical and the drop-down menu to select them. When finished, click on “Next” button.
  5. After verifying your choices, and evaluating the possibility to add other email address that will be notified after the process completion, click “Finish” to start the Restore.

Note: the admin account and the user account where the restore procedure is being started are notified by default

Running an Undelete Restore using CLI

If you prefer to use CLI Command line to start the Undelete Operation, you have to use the doUndelete command with the following syntax:

zxsuite backup doUndelete {account} {"dd/MM/yyyy HH:mm:ss"|first} {"dd/MM/yyyy HH:mm:ss"|last} [attr1 value1 [attr2 value2...]

Where account (the account name), start_date (“dd/MM/yyyy HH:mm:ss”|first) and end_date (“dd/MM/yyyy HH:mm:ss”|last) are mandatory parameters.

WHAT’S NEW IN 3.1.9

Starting from new 3.1.9 release Zextras introduced the possibility to restore email messages in their original folders. In this way, instead of having the emails restored to a specific folder within the inbox, the entire original folder tree is restored, effectively returning to the state before the mail was deleted.

This is very important because in this way you don’t have to recreate the folder structure or move manually restored emails.

But how it works?

Using CLI Commands, all you have to do is to add a new parameter, named: target_original_folder to the command showed above in this article:

zxsuite backup doUndelete {account} {"dd/MM/yyyy HH:mm:ss"|first} {"dd/MM/yyyy HH:mm:ss"|last} {target_original_folder}

Technical writer at Zextras. Linux and technology enthusiast. He describes himself as an atypical and polyhedric IT expert, thanks to a creative and open minded attitude, and to the experience gained over time as an IT technician, system engineer and developer.

Post your comment