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 04-20-2009, 11:06 AM
Elite Member
 
Posts: 376
Default [SOLVED] Progress for zmrestore (GUI or CLI?)

I used the GUI restore and I am trying to figure out if it is still running. I have 175 users to go and the lights on the front of the USB drive had stopped blinking.

How do I get a status of a running restore?
__________________
Culley
Mail | Dell 2950III | 2x Quad Core 5420 | 8gb RAM | 6x 146gb SAS RAID 0+1 | Red Hat 5.3 | Zimbra 6.0.10 Network Edition
Test | VMware ESXi Whitebox | Phenom II Black 3.2ghz | 12gb RAM | 6x 1tb SATA RAID 0+1 | CentOS 5.4 | FOSS, Not in use now
Reply With Quote
  #2 (permalink)  
Old 04-20-2009, 11:26 AM
Zimbra Employee
 
Posts: 604
Default

The quickest way is to look at /opt/zimbra/log/mailboxd.log. You want to look for the entries related to the Backup thread. There will be entries for each account as the restore proceeds and a final entry indicating the process was complete.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 04-20-2009, 11:32 AM
Elite Member
 
Posts: 376
Default

Any idea on what key word(s?) to grep for. I popped it open with Nano and the alot of info, but nothing I can see which says XXXX user is finished.
__________________
Culley
Mail | Dell 2950III | 2x Quad Core 5420 | 8gb RAM | 6x 146gb SAS RAID 0+1 | Red Hat 5.3 | Zimbra 6.0.10 Network Edition
Test | VMware ESXi Whitebox | Phenom II Black 3.2ghz | 12gb RAM | 6x 1tb SATA RAID 0+1 | CentOS 5.4 | FOSS, Not in use now
Reply With Quote
  #4 (permalink)  
Old 04-20-2009, 12:45 PM
Zimbra Employee
 
Posts: 604
Default

backup - Restore started for account
backup - Restore finished for
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #5 (permalink)  
Old 04-20-2009, 03:27 PM
Elite Member
 
Posts: 376
Default

That works well. Added a tail command and egrep for the OR capability.

Code:
tail -f /opt/zimbra/log/mailbox.log | egrep '(backup - Restore started | backup - Restore finished)'
__________________
Culley
Mail | Dell 2950III | 2x Quad Core 5420 | 8gb RAM | 6x 146gb SAS RAID 0+1 | Red Hat 5.3 | Zimbra 6.0.10 Network Edition
Test | VMware ESXi Whitebox | Phenom II Black 3.2ghz | 12gb RAM | 6x 1tb SATA RAID 0+1 | CentOS 5.4 | FOSS, Not in use now
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.