| Welcome to the Zimbra - Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | 
07-26-2007, 06:14 PM
| | | restore single mail folder for account? From what I've been able to gather from the forums and the wiki, when doing backups with zmbackup, you only have the option of restoring a whole "mailbox" (i.e., a user's entire account).
Is there a way to restore only a single folder within an account? I have no idea how, but we have users that manage to delete a folder or two every so often and call us to have it restored.
If you restore an account from backup in-place, will it just add the items from the backup which are missing/deleted, or will it modify items received since the backup was made?
Thanks,
Gregory | 
07-26-2007, 09:27 PM
| | Trained Alumni | |
Posts: 190
| | Not sure if the restore wipes the mailbox completely, but what I usually do is restore to a second account and then imapsync the folder to the correct account. When all is done, I delete the restored account. | 
07-27-2007, 03:18 AM
| | Special Member | |
Posts: 128
| | And wich tool do you use for imapsync ? | 
07-27-2007, 03:43 AM
| | Zimbra Consultant & Moderator | |
Posts: 11,506
| | Quote:
Originally Posted by NOZIL And wich tool do you use for imapsync ? | ....erm, IMAPSYNC. 
__________________
Regards
Bill
| 
07-27-2007, 08:00 AM
| | Trained Alumni | |
Posts: 190
| | hehe 
NOZIL, imapsync is all over the forums, and the wiki. Just do a search. | 
07-27-2007, 08:22 AM
| | Special Member | |
Posts: 128
| | sorry... it's really time for me to take some holidays.... next thursday !!! | 
07-27-2007, 08:56 AM
| | Zimbra Consultant & Moderator | |
Posts: 11,506
| | Quote:
Originally Posted by NOZIL sorry... it's really time for me to take some holidays.... next thursday !!! | What else happens in France during August?  Have a good holiday.
__________________
Regards
Bill
| 
07-27-2007, 11:08 AM
| | | Quote:
Originally Posted by kirme3 Not sure if the restore wipes the mailbox completely, but what I usually do is restore to a second account and then imapsync the folder to the correct account. When all is done, I delete the restored account. | Do you need to have the user around to type his password in for the imapsync, or do you temporarily reset the password for administrative convenience? I read in another thread that you can supposedly use admin auth to access a user mailbox, but I cannot conceive of how that would work.
Thanks,
Gregory | 
07-27-2007, 12:12 PM
| | Trained Alumni | |
Posts: 190
| | You have a couple of options.
I prefer to use the admin auth, but you could reset the users password and make them reset it or have them type it in.
For the life of me, though, I can't remember if the admin auth is enabled by default or if you have to enable it. When it is enabled, in imapsync you would use --user2(correct user) --authuser2(adminuser) --password2(adminpassword)
You should be able to set the restored account password to whatever you want, since you'll be doing the maintenance with that one. | 
07-30-2007, 04:19 PM
| | | Thanks everyone for the help. Looks like the current plan is to test a restore of an account to an alternate account name (looks like the admin console suggests "restored_account"), and then use imapsync with the --authuser1/--authuser2 options to push requested folders over.
Gregory | | Thread Tools | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |