Results 1 to 4 of 4

Thread: COS and Dist. List backup/restore

  1. #1
    Harley77 is offline Active Member
    Join Date
    Feb 2007
    Location
    Minnesota
    Posts
    48
    Rep Power
    8

    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.

  2. #2
    brian is offline Project Contributor
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    10

    Default

    COS and DL list membership are stored in LDAP, The normal backup routines handle these.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    Harley77 is offline Active Member
    Join Date
    Feb 2007
    Location
    Minnesota
    Posts
    48
    Rep Power
    8

    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?

  4. #4
    brian is offline Project Contributor
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    10

    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •