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-23-2008, 08:36 AM
Active Member
 
Posts: 37
Default COS and Dist. List backup/restore

I noticed that the backup and restore function doesn't backup the COS and Distribution lists. I found this out the hard way and am in the process of rebuilding all my dist. lists. Is there a way to do this cleanly? Seems like a big omission to have in the back function.

BTW, I've searched for this answer on the forums and just ran across old threads asking the same thing with no response.
Reply With Quote
  #2 (permalink)  
Old 09-23-2008, 10:48 AM
Zimbra Employee
 
Posts: 604
Default

COS and DL list membership are stored in LDAP, The normal backup routines handle these.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 09-23-2008, 12:29 PM
Active Member
 
Posts: 37
Default

Quote:
Originally Posted by brian View Post
COS and DL list membership are stored in LDAP, The normal backup routines handle these.
Ok, well, maby I'm missing something then. I did a full backup and kept the backup dir on a seperately mounted drive. Uninstalled and reinstalled zimbra. Restored from the full backup all accounts. No COS nor Distribution lists were there.

I just did another Full backup and ran the command:
zmrestoreldap -lb full-20080923.141812.548 -t /DRIVE2/backup -l


Only my User accounts and resources were listed. No COS nor Dist. Lists.

How can I tell if they were backed up?
Reply With Quote
  #4 (permalink)  
Old 09-23-2008, 02:33 PM
Zimbra Employee
 
Posts: 604
Default

zmrestoreldap -l will only list email accounts in the ldap backup. here's a full restore i did. notice the added: "cn=cos,cn=zimbra" (0000000a)

Code:
beta:~ zimbra$ zmrestoreldap -lb full-20080923.212432.776   
Stopping ldap...Killing slapd with pid 244 done.
done.
added: "cn=zimbra" (00000001)
added: "cn=admins,cn=zimbra" (00000002)
added: "uid=zimbra,cn=admins,cn=zimbra" (00000003)
added: "uid=zmreplica,cn=admins,cn=zimbra" (00000004)
added: "cn=appaccts,cn=zimbra" (00000005)
added: "uid=zmnginx,cn=appaccts,cn=zimbra" (00000006)
added: "uid=zmpostfix,cn=appaccts,cn=zimbra" (00000007)
added: "uid=zmamavis,cn=appaccts,cn=zimbra" (00000008)
added: "cn=zimlets,cn=zimbra" (00000009)
added: "cn=cos,cn=zimbra" (0000000a)
added: "cn=servers,cn=zimbra" (0000000b)
added: "cn=config,cn=zimbra" (0000000c)
added: "cn=default,cn=cos,cn=zimbra" (0000000d)
added: "cn=mime,cn=config,cn=zimbra" (0000000e)
added: "cn=message/rfc822,cn=mime,cn=config,cn=zimbra" (0000000f)
added: "cn=text/html,cn=mime,cn=config,cn=zimbra" (00000010)
added: "cn=text/enriched,cn=mime,cn=config,cn=zimbra" (00000011)
added: "cn=text/plain,cn=mime,cn=config,cn=zimbra" (00000012)
added: "cn=text/calendar,cn=mime,cn=config,cn=zimbra" (00000013)
added: "cn=all,cn=mime,cn=config,cn=zimbra" (00000014)
added: "cn=zcs.example.com,cn=servers,cn=zimbra" (00000015)
added: "dc=com" (00000016)
added: "dc=example,dc=com" (00000017)
added: "dc=zcs,dc=example,dc=com" (00000018)
added: "ou=people,dc=zcs,dc=example,dc=com" (00000019)
added: "uid=admin,ou=people,dc=zcs,dc=example,dc=com" (0000001a)
added: "uid=root,ou=people,dc=zcs,dc=example,dc=com" (0000001b)
added: "uid=postmaster,ou=people,dc=zcs,dc=example,dc=com" (0000001c)
added: "uid=wiki,ou=people,dc=zcs,dc=example,dc=com" (0000001d)
added: "uid=spam,ou=people,dc=zcs,dc=example,dc=com" (0000001e)
added: "uid=ham,ou=people,dc=zcs,dc=example,dc=com" (0000001f)
added: "cn=com_zimbra_cert_manager,cn=zimlets,cn=zimbra" (00000020)
added: "cn=com_zimbra_date,cn=zimlets,cn=zimbra" (00000021)
added: "cn=com_zimbra_email,cn=zimlets,cn=zimbra" (00000022)
added: "cn=com_zimbra_local,cn=zimlets,cn=zimbra" (00000023)
added: "cn=com_zimbra_phone,cn=zimlets,cn=zimbra" (00000024)
added: "cn=com_zimbra_url,cn=zimlets,cn=zimbra" (00000025)
added: "cn=com_zimbra_ymemoticons,cn=zimlets,cn=zimbra" (00000026)
added: "cn=com_zimbra_backuprestore,cn=zimlets,cn=zimbra" (00000027)
added: "cn=com_zimbra_cluster,cn=zimlets,cn=zimbra" (00000028)
added: "cn=com_zimbra_convertd,cn=zimlets,cn=zimbra" (00000029)
added: "cn=com_zimbra_domainadmin,cn=zimlets,cn=zimbra" (0000002a)
added: "cn=com_zimbra_hsm,cn=zimlets,cn=zimbra" (0000002b)
added: "cn=com_zimbra_license,cn=zimlets,cn=zimbra" (0000002c)
added: "cn=com_zimbra_mobilesync,cn=zimlets,cn=zimbra" (0000002d)
added: "uid=da,ou=people,dc=zcs,dc=example,dc=com" (0000002e)
added: "cn=starter,cn=cos,cn=zimbra" (0000002f)
added: "cn=standard,cn=cos,cn=zimbra" (00000030)
added: "cn=pro,cn=cos,cn=zimbra" (00000031)
added: "uid=test1,ou=people,dc=zcs,dc=example,dc=com" (00000032)
added: "dc=test,dc=example,dc=com" (00000033)
added: "ou=people,dc=test,dc=example,dc=com" (00000034)
added: "uid=test2,ou=people,dc=test,dc=example,dc=com" (00000035)
added: "uid=test3,ou=people,dc=test,dc=example,dc=com" (00000036)
added: "uid=test4,ou=people,dc=test,dc=example,dc=com" (00000037)
added: "uid=testme,ou=people,dc=zcs,dc=example,dc=com" (00000038)
Starting ldap...Started slapd: pid 72082
done.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.