-
Zextras Carbonio 23.6.0
-
Carbonio Community Edition
-
Suite for Zimbra
- Articles coming soon
Restore Account on New Account
Restore Account on New Account
The Restore on New Account and Restore Account methods allow you to restore a mailbox’s content as it was at a certain point in time. The distinction between the two is in the account’s status and how the mailbox will be restored: If the account was destroyed, it can be restored with the same accountID (Account Restore), but if the account is still in use, it can be restored as a fully new account, i.e. with a completely new accountID.
Because the source account is not altered in any way, it is feasible to retrieve one or more deleted items in a user’s account without reverting the whole inbox. As a security safeguard, you can select to conceal the newly formed account from the GAL while doing this type of restoration.
This process is beneficial in numerous instances, including when a whole account has been erased or is no longer usable as a consequence of an external fault (hardware or disc failure) or a human error (such as a user or system administrator launching an incorrect delete/purge operation).
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 account.
Performing a Restore on a New Account
zextras$ carbonio backup doRestoreOnNewAccount Account name or id destination_account "dd/MM/yyyy HH:mm:ss"|last [param VALUE[,VALUE]]
Parameter List
NAME | TYPE | EXPECTED VALUES | DEFAULT |
source_account(M) | String | Account name or id | |
destination_account(M) | Account Name/ID | ||
date(M) | Date | “dd/MM/yyyy HH:mm:ss”| last | last |
restore_chat_buddies(O) | Boolean | true | false | |
apply_hsm(O) | Boolean | true | false | |
notifications(O) | Email Address[,..] | ||
restore_datasource(O) | Boolean | true|false | true |
(M) == mandatory parameter, (O) == optional parameter
Usage Example
zextras$ carbonio backup doRestoreOnNewAccount john@example.com john_restored@example.com "28/03/2023 09:29:49"
Restores the john@example.com account in a new account named john_restored@example.com in the same condition as it was on the 28 March 2023 at 09:29:49
Hint
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