Results 1 to 5 of 5

Thread: Restoring a File to a Shared Mailbox

  1. #1
    Russianspi is offline Loyal Member
    Join Date
    Aug 2007
    Location
    Yorba Linda, CA
    Posts
    89
    Rep Power
    8

    Default Restoring a File to a Shared Mailbox

    Hi. I have a mailbox that shares folders to many users (as managers). One of my folders accidentally got cleared, and I would like to restore it using Zimbra's NE Backup and Restore Functionality, but I'm not sure how to just restore one folder in an account. Any help?

  2. #2
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Restore to a new target account (-ca -pre restored_) where a prefix is perpended to the original account names:
    zmrestore -s server.domain.com -a user@domain.com -restoreToTime <timeArgument> -lb full-200xxxxxx -ca -pre restored_
    In this case a new account is created named restored_user@domain.com
    You could then grab out the material you want, thick-client connect to both accounts for swapping, imapsync, or choose to run the command without the new target/test account if your absolutely sure.

    CLI zmrestore restoreToTime Network Edition only - Zimbra :: Wiki
    -Don't forget to specify a full to work from with the -lb command
    CLI zmrestore Network Edition only - Zimbra :: Wiki

    Vote for / support ticket tag / CC watch this RFE: Bug 8849 - More Granular Restore: per folder & per-message

  3. #3
    Russianspi is offline Loyal Member
    Join Date
    Aug 2007
    Location
    Yorba Linda, CA
    Posts
    89
    Rep Power
    8

    Default

    OK, thanks, Mike. That did the trick mostly. I didn't get the last few days of E-mail, though. I got an error on the CLI: "Error executing redoOp"

    Any idea why (and does that explain why I'm still missing a few days of E-mail?)

    --Dan

  4. #4
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Command you ran & can we get the full error stack from the log?

  5. #5
    Russianspi is offline Loyal Member
    Join Date
    Aug 2007
    Location
    Yorba Linda, CA
    Posts
    89
    Rep Power
    8

    Default Errors

    OK, Mike. I tried this first (sanitized a bit):
    Code:
    zmrestore -a mystores@domain.com -ca -pre temp
    
    Error executing redoOp


    and then this:
    Code:
    zmrestore -s mail.myserver.com -a mystores@domain.com -restoreToTime 20080604.000000 -lb full-20080603.080124.073 -ca -pre restored_
    
    using restore to time of 2008/06/04 00:00:00
    Error occurred: no such account: Account ID for mystores@domain.com not found in backup full-20080603.080124.073
    that error stumped me, so I moved on. I may have entered the command wrong? The Backup was there... Finally, I entered this:

    Code:
    zmrestore -s mail.myserver.com -a mystores@domain.com -restoreToTime 20080604.000000 -ca -pre restored_
    
    Error executing redoOp
    I'm looking through my log files by date modified, and I'm not sure which you'd like to see. Last stactrace.#### file is Old...

    A new, odd bit of information: I ran the last command one more time this morning (after deleting the temporary account), and didn't see any error this time - but I did see E-mail from Friday, 6/6, 2 days after the date I was apparently restoring to. Am I way off base?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. speed up the net
    By mcesari in forum Administrators
    Replies: 10
    Last Post: 04-25-2008, 11:24 AM
  3. centos 5 zimbra 4.5.6 no statistics
    By rutman286 in forum Installation
    Replies: 9
    Last Post: 08-14-2007, 09:30 AM
  4. Traslation SVN tree status
    By meikka in forum I18N/L10N - Translations
    Replies: 7
    Last Post: 02-13-2007, 11:13 AM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 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
  •