Duration Undelete

Duration Undelete

Time-range Remove Time-range Undelete, also known as Undelete Restore, is a Restore Mode that allows an administrator to restore from a mailbox any things that were deleted from the Trash folder during a specified time interval and restore their status to the most recent change of status.

The Carbonio Backup engine examines the backup datastore for things labelled as DELETED  in the given time range and restores them in the mailbox’s source folder during a Time-range Undelete. All restored objects will be labelled with the string undelete_DD_MM_YY, where DD_MM_YY is the date of the undelete.
The undeleted objects’ structure is kept, with each subfolder rebuilt using the most recent attribute available in the time range being restored. If there is no information available, the folder will be named  unknown_XX.

Corner cases

There are two points that is worth highlighting:

  1. In case an item or folder for some reason had the trash bin as its first position and this was its only position, they will be restored in the trash bin.

  2. Suppose you have a folder called Conference 2021, then delete all of the item it contains and rename it to Conference 2022. You later—on 15th of November 2021—carry out an Undelete Restore on the mailbox. All of the items and content will be restored under folder Conference 2021 and tagged as undelete_15_11_21.


To deal with IMAP-deleted emails in a more comfortable way for the user, during the Time-range Undelete the deleted IMAP flag will be stripped from any restored item, for the item itself to be visible in the Administration Console.

Performing a Time-range Undelete
Use the carbonio backup doUndelete command to begin a Time-range Undelete process.


At the end of the operation, you can check that the configuration of the new mailbox is the same by running the command carbonio config dump (See zextras_config_full_cli).