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 07-13-2011, 03:29 AM
Starter Member
 
Posts: 2
Default Restore single user zimbra Open source 5.0.10

Hello, I'm a IT manager and we have wrongly deleted a user, now im looking for the options i can chose and don't know whats the best can i do, i readed a lots of posts but not really sure witch real options i have.


the only way its restore a full backup? i only have weekly full backup from the server.

as i read the only option is restoring the full backup in new installation and export the user?
Reply With Quote
  #2 (permalink)  
Old 07-13-2011, 03:30 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Quote:
Originally Posted by alligadas View Post
...as i read the only option is restoring the full backup in new installation and export the user?
That would be the only option, I'd suggest you don't attempt this on your live production server (I guess that's what you mean by 'new installation'?). There is a thread in the forums that has a script for backup/restore of individual accounts and you may want to investigate that after you've recovered this account.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-13-2011, 03:45 AM
Starter Member
 
Posts: 2
Default

as new instalation i mean new and diferent server without doing nothing on the live before i have exported the account with a undestandable format for my live server thats right? i readed some about this

grep -m1 <numbre cuenta> `find -mtime -<dias de recuperacion> -iname "*.msg"`|awk -F: '{print $1}'

2- Por cada fichero tendrás que ejecutar algo asi:
zmmailbox -z -m <direccion de correo> addMessage /Inbox <fichero msg a recuperar>



this 2 commands will work with a deleted account?
Reply With Quote
  #4 (permalink)  
Old 07-13-2011, 10:58 AM
Active Member
 
Posts: 38
Default

on your lab server with full bkp run:

/opt/zimbra/bin/zmmailbox -z -m user@domain.com getRestURL “//?fmt=tgz” > /tmp/account.tgz


then copy with scp.. to your production server and run :

/opt/zimbra/bin/zmmailbox -z -m user@domain.com postRestURL “//?fmt=tgz&resolve=modify” /tmp/account.tgz
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.