Results 1 to 10 of 10

Thread: restore single mail folder for account?

Hybrid View

  1. #1
    Join Date
    May 2007
    Location
    San Diego
    Posts
    53
    Rep Power
    8

    Default 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

  2. #2
    Join Date
    Apr 2006
    Location
    Illinois
    Posts
    194
    Rep Power
    9

    Default

    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.

  3. #3
    Join Date
    Nov 2006
    Location
    Bordeaux, France
    Posts
    140
    Rep Power
    9

    Default

    And wich tool do you use for imapsync ?

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by NOZIL View Post
    And wich tool do you use for imapsync ?
    ....erm, IMAPSYNC.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Apr 2006
    Location
    Illinois
    Posts
    194
    Rep Power
    9

    Default

    hehe
    NOZIL, imapsync is all over the forums, and the wiki. Just do a search.

  6. #6
    Join Date
    Nov 2006
    Location
    Bordeaux, France
    Posts
    140
    Rep Power
    9

    Default

    sorry... it's really time for me to take some holidays.... next thursday !!!

  7. #7
    Join Date
    May 2007
    Location
    San Diego
    Posts
    53
    Rep Power
    8

    Default

    Quote Originally Posted by kirme3 View Post
    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

  8. #8
    Join Date
    Apr 2006
    Location
    Illinois
    Posts
    194
    Rep Power
    9

    Default

    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.

  9. #9
    Join Date
    May 2007
    Location
    San Diego
    Posts
    53
    Rep Power
    8

    Default

    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

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 02:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 09:09 AM
  4. DynDNS and Zimbra
    By afterwego in forum Installation
    Replies: 30
    Last Post: 04-01-2007, 04:34 PM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 04:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •