Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-13-2011, 03:08 AM
fyd fyd is offline
Elite Member
 
Posts: 373
Default [SOLVED] zmrestore with target '-t'

I am trying to restore an account from a backup that's stored in my secondary drive (was copied over when default backup target was exhausted). This is not in my default zimbra backup drive so I am trying to restore the account with -t switch that specifies the target location from where it should search out the backup. But it is not working as it should be.

Tried the following orders

$ zmrestore -ca -a acc@domain.com -pre new_ -t /zimbra/sessions
Error occurred: invalid request: Account map file /zimbra/sessions/accounts.xml is missing. Specify a full backup label to restore from.

$ zmrestore -ca -a acc@domain.com -pre new_ -t /zimbra/sessions -lb full-20110411.151402.024
Error occurred: backup full-20110411.151402.024 not found

Backing up through front end is broken, so pls don't tell me that. I am trying cli. Tried giving -t alone, and with -lb. Can someone please verify this?
Reply With Quote
  #2 (permalink)  
Old 05-13-2011, 07:12 AM
fyd fyd is offline
Elite Member
 
Posts: 373
Default

I managed to restore it by specifying the mount point of the secondary drive where it was stored. As follows ..

zmrestore -ca -a acc@domain.com -pre new_ -lb full-20110411.151402.024 -t /zimbra

/zimbra is where the disk was mounted and within it was the 'sessions' directory that I created to keep backups (like how zimbra deals with the default backup target).

Last edited by fyd; 06-12-2011 at 08:54 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.