Results 1 to 6 of 6

Thread: zmrestore with restoreToTime

  1. #1
    wfweaver is offline Trained Alumni
    Join Date
    Aug 2006
    Location
    Austin, TX
    Posts
    51
    Rep Power
    9

    Exclamation zmrestore with restoreToTime

    I'm trying to restore a mailbox to a new account up to a specific time. This is the command I'm using:

    Code:
    zmrestore -a 'jlazarus@kargo.com' -ca -pre 'restored_' -restoreToTime '20071030235959' -s 'mail1.amicusenvoy.com'
    This is what it says it is doing:

    Code:
    using restore to time of 2007/10/30 23:59:59 000
    HOWEVER, when it restores, the only thing in the new mailbox is everything AFTER that date/time, nothing BEFORE! I've used this before with other accounts and have had no issue with it, but for some reason am having trouble with this one. Can someone tell me what I'm doing wrong? Or if I've hit some bug or something? Running 4.5.9 Network Edition on RedHat 4.


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

    Default

    Can you verify that you're working off the proper full backup with the -lb argument:
    zmrestore -s mail1.amicusenvoy.com -a jlazarus@kargo.com -lb full-20071030etc -ca -pre restored -restoreToTime '20071030235959'

  3. #3
    wfweaver is offline Trained Alumni
    Join Date
    Aug 2006
    Location
    Austin, TX
    Posts
    51
    Rep Power
    9

    Default

    I've never given it the full backup filename before and it worked just fine. Do I use the first full after the specified date and it will run up to the time specified or do I use the first full before the date and then let it only do logs up to the time?

  4. #4
    mcesari is offline Special Member
    Join Date
    Aug 2007
    Posts
    103
    Rep Power
    8

    Default

    This has happened to me before too, but not all the time. Ive never used -lb though.

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

    Default

    Before the specified date, fulls after the date wouldn't have the redologs to the prior time.
    You already are, but be sure to use -ca -pre restored so you can test what it's going to look like.

  6. #6
    mcesari is offline Special Member
    Join Date
    Aug 2007
    Posts
    103
    Rep Power
    8

    Default

    adding the -lb works. I would think it should warn you or use a different full backup if it did not have the redo logs you want

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. restore deleted account with zmrestore
    By shanson in forum Administrators
    Replies: 8
    Last Post: 12-10-2007, 10:25 AM
  2. zmrestore query
    By padraig in forum Administrators
    Replies: 2
    Last Post: 11-08-2007, 09:16 AM
  3. zmrestore restoreToTime problem
    By magsuser2007 in forum Administrators
    Replies: 5
    Last Post: 10-15-2007, 01:41 PM
  4. zmrestore and no such domain error
    By KenVM in forum Installation
    Replies: 2
    Last Post: 07-16-2007, 11:24 AM

Posting Permissions

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