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 09-15-2008, 03:16 AM
Junior Member
 
Posts: 8
Default How to backup user database only

I search on wiki and google, there're many way to backup all Zimbra but I want to ask how to backup only user account database? there're so many user that I can't make it again....so is there a way I can backup only account database??may be don't need mail for that account, just information about account like user name and password???
Reply With Quote
  #2 (permalink)  
Old 09-15-2008, 03:22 AM
Moderator
 
Posts: 7,911
Default

It would be useful if you were to update your profile so we know which version of ZCS you are running please
__________________
Reply With Quote
  #3 (permalink)  
Old 09-15-2008, 06:48 PM
Junior Member
 
Posts: 8
Default

well, thanks for your advice, I'm using Zimbra Collabration Suite zcs-5.0.9_GA_2533.RHEL5.20080815132719 on CentOS 5.2 64bit (I also update my profile as well)
Reply With Quote
  #4 (permalink)  
Old 09-15-2008, 09:08 PM
Moderator
 
Posts: 1,531
Default

well if you do just a ldap dump you'll have most all the account information. Keep in mind that passwords are only one way hashed. So you would have a backup of hte password hash, but no way to actually see what the passwords are.
Reply With Quote
  #5 (permalink)  
Old 09-18-2008, 08:32 PM
Junior Member
 
Posts: 8
Default

I'm sorry but I don't get what're you talking about? I don't know what's "ldap dump" means, is it a tool or a command to backup user database? can you tell me more detail about how to backup database of Zimbra. My situation is this :

- I've installed Zimbra and create many user in that, but it works unstable, so I want a whole new again, but the most things trouble is the account I created, I've spent 7 days to create it, and now I truly don't want to create it again >.<.

So what's your advice, I'm very appreciate your kindness....
Reply With Quote
  #6 (permalink)  
Old 09-23-2008, 08:01 PM
Junior Member
 
Posts: 8
Default

hello, anybody here.....??
Reply With Quote
  #7 (permalink)  
Old 07-28-2009, 08:20 AM
mvg mvg is offline
Starter Member
 
Posts: 2
Default

Hello,

do you have some new about it, I want to know too, how can I backup and restore the users account only

best regards

Marcelo

Quote:
Originally Posted by jama View Post
hello, anybody here.....??
Reply With Quote
  #8 (permalink)  
Old 07-28-2009, 08:40 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
Originally Posted by mvg View Post
do you have some new about it, I want to know too, how can I backup and restore the users account only
User backup & restore (for users mailboxes) is a feature of the NE version of Zimbra and not available for the OSS version. To backup the user data (i.e. User information stored in Zimbra) then do a dump of LDAP as mentioned earlier. There are several threads in the forums that have discussions of user backup/restore, search for them.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 07-28-2009, 08:42 AM
Moderator
 
Posts: 1,531
Default

you can use zmslapcat (located in /opt/zimbra/libexec) to dump the ldap database. that will contain all the user accounts. there is no simple restore method from this but it could be done i'm sure by parsing all the fields and generating a zmprov createaccount statment
Reply With Quote
  #10 (permalink)  
Old 07-30-2009, 07:31 AM
mvg mvg is offline
Starter Member
 
Posts: 2
Default

Thanks

for your response, yes with zmslapcat we can get the user information, will not easer to parse the data but will be possible I think :-), but zmprov createaccount with plain text password and from LDAP data we can't get it, are there other way to create user account with crypted password (from LDAP).

What is I'm trying to do is a per user backup script, in conjuntion with zmmailbox

regards

Marcelo
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.