Are domain & account aliases preserved in a ZxBackup incremental migration?
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Are domain & account aliases preserved in a ZxBackup incremental migration?

  1. #1
    pgn
    pgn is offline
    Member
    Join Date
    Aug 2012
    Posts
    44

    Question Are domain & account aliases preserved in a ZxBackup incremental migration?

    In setting up my Zimbra7 server, I'd created a number of alias domains,

    zmprov createAliasDomain my_alias_domain.com my_real_domain.net zimbraMailCatchAllForwardingAddress @my_real_domain.net

    as well as numerous mail aliases

    zmprov aaa real_name@my_real_domain.net alias_name@my_real_domain.net

    When using ZxBackup to do an incremental/live migration from this Z7 server to a *new* Z8 server, are these alias definitions -- for domains and accounts -- preserved & migrated?

    I've not found Zextras documentation (yet) that says they are ...

    or, do I have to extract lists from the Z7 server's localconfig, and then recreate them manually?

    Thanks

  2. #2
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,363
    Hello pgn!

    The domain aliases are preserved as long as you export/import both the main domain and the aliases, as those are considered as Domains by Zimbra (meaning that both domains and alias domains share the "zimbraDomain" Object Class in LDAP)...

    Have a nice day
    Cine
    the ZeXtras Team

  3. #3
    pgn
    pgn is offline
    Member
    Join Date
    Aug 2012
    Posts
    44
    Quote Originally Posted by Cine View Post
    The domain aliases are preserved as long as you export/import both the main domain and the aliases, as those are considered as Domains by Zimbra (meaning that both domains and alias domains share the "zimbraDomain" Object Class in LDAP)...
    Great, thanks!

    How about the individual email account aliases? I know Zextras doesn't "count" them as 'real' accounts (for licence purposes) ...

  4. #4
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,363
    Quote Originally Posted by pgn View Post
    Great, thanks!

    How about the individual email account aliases? I know Zextras doesn't "count" them as 'real' accounts (for licence purposes) ...
    The answer is still yes, as an account alias is just an attribute of the main account (the specific LDAP attribute is "zimbraMailAlias")...

    Have a nice day,
    Cine

  5. #5
    pgn
    pgn is offline
    Member
    Join Date
    Aug 2012
    Posts
    44
    I did a FullScan-based migration from Zimbra7 to Zimbra8.

    On the Z7 box, I have 3 domains & 3 domain aliases.

    Once the migration/import is done, I have *6* domains, and *NO* aliases on the ZImbra8 box. The alias domains are apparently converted to real domains during the process.

    How do I fix this, now? Delete the 3 domains, and recreate the aliases? Or is this a bug that can/should be fixed in Zextras Suite?

  6. #6
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,363
    Hello pgn,

    can you please send me (community@zextras.com) the output of the following commands:

    zmprov gd yourrealdomain.com
    zmprov gd youraliasdomain.com

    both commands must be ran as the 'zimbra' user on the Zimbra 8 box.


    Have a nice day,
    Cine

  7. #7
    pgn
    pgn is offline
    Member
    Join Date
    Aug 2012
    Posts
    44
    > zmprov gd yourrealdomain.com
    > zmprov gd youraliasdomain.com
    >
    > both commands must be ran as the 'zimbra' user on the Zimbra 8 box.

    @ destination, real domain
    zmprov gd mydomain.com
    -------------------------------------------
    # name mydomain.com
    dc: mydomain
    o: mydomain.com domain
    objectClass: dcObject
    objectClass: organization
    objectClass: zimbraDomain
    objectClass: amavisAccount
    zimbraAdminConsoleCatchAllAddressEnabled: FALSE
    zimbraAdminConsoleDNSCheckEnabled: FALSE
    zimbraAdminConsoleLDAPAuthEnabled: FALSE
    zimbraAdminConsoleSkinEnabled: FALSE
    zimbraAggregateQuotaLastUsage: 2252968413
    zimbraAutoProvBatchSize: 20
    zimbraAutoProvNotificationBody: Your account has been auto provisioned. Your email address is ${ACCOUNT_ADDRESS}.
    zimbraAutoProvNotificationSubject: New account auto provisioned
    zimbraBasicAuthRealm: Zimbra
    zimbraCreateTimestamp: 20121022210339Z
    zimbraDNSCheckHostname: mx.myhostname.com
    zimbraDomainAggregateQuota: 0
    zimbraDomainAggregateQuotaPolicy: ALLOWSENDRECEIVE
    zimbraDomainAggregateQuotaWarnPercent: 80
    zimbraDomainDefaultCOSId: cf30d27b-0c00-11f9-836a-d6b9ef6470c5
    zimbraDomainMandatoryMailSignatureEnabled: FALSE
    zimbraDomainName: mydomain.com
    zimbraDomainStatus: active
    zimbraDomainType: local
    zimbraExternalShareInvitationUrlExpiration: 0
    zimbraFileUploadMaxSizePerFile: 2147483648
    zimbraFreebusyExchangeCachedInterval: 60d
    zimbraFreebusyExchangeCachedIntervalStart: 7d
    zimbraFreebusyExchangeServerType: webdav
    zimbraGalAccountId: e00428a1-c774-4aef-a0ed-acff48d1ef81
    zimbraGalAlwaysIncludeLocalCalendarResources: FALSE
    zimbraGalAutoCompleteLdapFilter: externalLdapAutoComplete
    zimbraGalGroupIndicatorEnabled: TRUE
    zimbraGalInternalSearchBase: DOMAIN
    zimbraGalLdapAttrMap: (binary) userSMIMECertificate=userSMIMECertificate
    zimbraGalLdapAttrMap: (certificate) userCertificate=userCertificate
    zimbraGalLdapAttrMap: co=workCountry
    zimbraGalLdapAttrMap: company=company
    zimbraGalLdapAttrMap: description=notes
    zimbraGalLdapAttrMap: displayName,cn=fullName,fullName2,fullName3,fullNa me4,fullName5,fullName6,fullName7,fullName8,fullNa me9,fullName10
    zimbraGalLdapAttrMap: facsimileTelephoneNumber,fax=workFax
    zimbraGalLdapAttrMap: givenName,gn=firstName
    zimbraGalLdapAttrMap: homeTelephoneNumber,homePhone=homePhone
    zimbraGalLdapAttrMap: initials=initials
    zimbraGalLdapAttrMap: l=workCity
    zimbraGalLdapAttrMap: mobileTelephoneNumber,mobile=mobilePhone
    zimbraGalLdapAttrMap: msExchResourceSearchProperties=zimbraAccountCalend arUserType
    zimbraGalLdapAttrMap: objectClass=objectClass
    zimbraGalLdapAttrMap: ou=department
    zimbraGalLdapAttrMap: pagerTelephoneNumber,pager=pager
    zimbraGalLdapAttrMap: physicalDeliveryOfficeName=office
    zimbraGalLdapAttrMap: postalCode=workPostalCode
    zimbraGalLdapAttrMap: sn=lastName
    zimbraGalLdapAttrMap: st=workState
    zimbraGalLdapAttrMap: street,streetAddress=workStreet
    zimbraGalLdapAttrMap: telephoneNumber=workPhone
    zimbraGalLdapAttrMap: title=jobTitle
    zimbraGalLdapAttrMap: whenChanged,modifyTimeStamp=modifyTimeStamp
    zimbraGalLdapAttrMap: whenCreated,createTimeStamp=createTimeStamp
    zimbraGalLdapAttrMap: zimbraCalResBuilding=zimbraCalResBuilding
    zimbraGalLdapAttrMap: zimbraCalResCapacity,msExchResourceCapacity=zimbra CalResCapacity
    zimbraGalLdapAttrMap: zimbraCalResContactEmail=zimbraCalResContactEmail
    zimbraGalLdapAttrMap: zimbraCalResFloor=zimbraCalResFloor
    zimbraGalLdapAttrMap: zimbraCalResLocationDisplayName=zimbraCalResLocati onDisplayName
    zimbraGalLdapAttrMap: zimbraCalResSite=zimbraCalResSite
    zimbraGalLdapAttrMap: zimbraCalResType,msExchResourceSearchProperties=zi mbraCalResType
    zimbraGalLdapAttrMap: zimbraDistributionListSubscriptionPolicy=zimbraDis tributionListSubscriptionPolicy
    zimbraGalLdapAttrMap: zimbraDistributionListUnsubscriptionPolicy=zimbraD istributionListUnsubscriptionPolicy
    zimbraGalLdapAttrMap: zimbraId=zimbraId
    zimbraGalLdapAttrMap: zimbraMailDeliveryAddress,zimbraMailAlias,mail=ema il,email2,email3,email4,email5,email6,email7,email 8,email9,email10,email11,email12,email13,email14,e mail15,email16
    zimbraGalLdapAttrMap: zimbraMailForwardingAddress=member
    zimbraGalLdapAttrMap: zimbraPhoneticCompany,ms-DS-Phonetic-Company-Name=phoneticCompany
    zimbraGalLdapAttrMap: zimbraPhoneticFirstName,ms-DS-Phonetic-First-Name=phoneticFirstName
    zimbraGalLdapAttrMap: zimbraPhoneticLastName,ms-DS-Phonetic-Last-Name=phoneticLastName
    zimbraGalLdapPageSize: 1000
    zimbraGalLdapValueMap: zimbraAccountCalendarUserType: Room|Equipment RESOURCE
    zimbraGalLdapValueMap: zimbraCalResType: Room Location
    zimbraGalMaxResults: 100
    zimbraGalSyncLdapPageSize: 1000
    zimbraGalSyncMaxConcurrentClients: 2
    zimbraGalSyncTimestampFormat: yyyyMMddHHmmss'Z'
    zimbraGalTokenizeAutoCompleteKey: and
    zimbraGalTokenizeSearchKey: and
    zimbraId: 1bea3e27-a96f-418f-80ce-b866ac19622f
    zimbraInternalSharingCrossDomainEnabled: TRUE
    zimbraMailDomainQuota: 0
    zimbraMailSSLClientCertPrincipalMap: SUBJECT_EMAILADDRESS=name
    zimbraMailStatus: enabled
    zimbraPrefTimeZoneId: America/Los_Angeles
    zimbraReverseProxyClientCertMode: off
    zimbraSkinLogoURL: Zimbra offers Open Source email server software and shared calendar for Linux and the Mac.
    zimbraWebClientMaxInputBufferLength: 1024
    zimbraZimletDataSensitiveInMixedModeDisabled: TRUE
    -------------------------------------------

  8. #8
    pgn
    pgn is offline
    Member
    Join Date
    Aug 2012
    Posts
    44
    @ destination, alias domain
    zmprov gd mydomain.net
    -------------------------------------------
    # name mydomain.net
    dc: mydomain
    o: mydomain.net domain
    objectClass: dcObject
    objectClass: organization
    objectClass: zimbraDomain
    objectClass: amavisAccount
    zimbraAdminConsoleCatchAllAddressEnabled: FALSE
    zimbraAdminConsoleDNSCheckEnabled: FALSE
    zimbraAdminConsoleLDAPAuthEnabled: FALSE
    zimbraAdminConsoleSkinEnabled: FALSE
    zimbraAutoProvBatchSize: 20
    zimbraAutoProvNotificationBody: Your account has been auto provisioned. Your email address is ${ACCOUNT_ADDRESS}.
    zimbraAutoProvNotificationSubject: New account auto provisioned
    zimbraBasicAuthRealm: Zimbra
    zimbraCreateTimestamp: 20121022210339Z
    zimbraDomainAggregateQuota: 0
    zimbraDomainAggregateQuotaPolicy: ALLOWSENDRECEIVE
    zimbraDomainAggregateQuotaWarnPercent: 80
    zimbraDomainAliasTargetId: 1bea3e27-a96f-418f-80ce-b866ac19622f
    zimbraDomainDefaultCOSId: cf30d27b-0c00-11f9-836a-d6b9ef6470c5
    zimbraDomainMandatoryMailSignatureEnabled: FALSE
    zimbraDomainName: mydomain.net
    zimbraDomainStatus: active
    zimbraDomainType: local
    zimbraExternalShareInvitationUrlExpiration: 0
    zimbraFileUploadMaxSizePerFile: 2147483648
    zimbraFreebusyExchangeCachedInterval: 60d
    zimbraFreebusyExchangeCachedIntervalStart: 7d
    zimbraFreebusyExchangeServerType: webdav
    zimbraGalAlwaysIncludeLocalCalendarResources: FALSE
    zimbraGalAutoCompleteLdapFilter: externalLdapAutoComplete
    zimbraGalGroupIndicatorEnabled: TRUE
    zimbraGalInternalSearchBase: DOMAIN
    zimbraGalLdapAttrMap: (binary) userSMIMECertificate=userSMIMECertificate
    zimbraGalLdapAttrMap: (certificate) userCertificate=userCertificate
    zimbraGalLdapAttrMap: co=workCountry
    zimbraGalLdapAttrMap: company=company
    zimbraGalLdapAttrMap: description=notes
    zimbraGalLdapAttrMap: displayName,cn=fullName,fullName2,fullName3,fullNa me4,fullName5,fullName6,fullName7,fullName8,fullNa me9,fullName10
    zimbraGalLdapAttrMap: facsimileTelephoneNumber,fax=workFax
    zimbraGalLdapAttrMap: givenName,gn=firstName
    zimbraGalLdapAttrMap: homeTelephoneNumber,homePhone=homePhone
    zimbraGalLdapAttrMap: initials=initials
    zimbraGalLdapAttrMap: l=workCity
    zimbraGalLdapAttrMap: mobileTelephoneNumber,mobile=mobilePhone
    zimbraGalLdapAttrMap: msExchResourceSearchProperties=zimbraAccountCalend arUserType
    zimbraGalLdapAttrMap: objectClass=objectClass
    zimbraGalLdapAttrMap: ou=department
    zimbraGalLdapAttrMap: pagerTelephoneNumber,pager=pager
    zimbraGalLdapAttrMap: physicalDeliveryOfficeName=office
    zimbraGalLdapAttrMap: postalCode=workPostalCode
    zimbraGalLdapAttrMap: sn=lastName
    zimbraGalLdapAttrMap: st=workState
    zimbraGalLdapAttrMap: street,streetAddress=workStreet
    zimbraGalLdapAttrMap: telephoneNumber=workPhone
    zimbraGalLdapAttrMap: title=jobTitle
    zimbraGalLdapAttrMap: whenChanged,modifyTimeStamp=modifyTimeStamp
    zimbraGalLdapAttrMap: whenCreated,createTimeStamp=createTimeStamp
    zimbraGalLdapAttrMap: zimbraCalResBuilding=zimbraCalResBuilding
    zimbraGalLdapAttrMap: zimbraCalResCapacity,msExchResourceCapacity=zimbra CalResCapacity
    zimbraGalLdapAttrMap: zimbraCalResContactEmail=zimbraCalResContactEmail
    zimbraGalLdapAttrMap: zimbraCalResFloor=zimbraCalResFloor
    zimbraGalLdapAttrMap: zimbraCalResLocationDisplayName=zimbraCalResLocati onDisplayName
    zimbraGalLdapAttrMap: zimbraCalResSite=zimbraCalResSite
    zimbraGalLdapAttrMap: zimbraCalResType,msExchResourceSearchProperties=zi mbraCalResType
    zimbraGalLdapAttrMap: zimbraDistributionListSubscriptionPolicy=zimbraDis tributionListSubscriptionPolicy
    zimbraGalLdapAttrMap: zimbraDistributionListUnsubscriptionPolicy=zimbraD istributionListUnsubscriptionPolicy
    zimbraGalLdapAttrMap: zimbraId=zimbraId
    zimbraGalLdapAttrMap: zimbraMailDeliveryAddress,zimbraMailAlias,mail=ema il,email2,email3,email4,email5,email6,email7,email 8,email9,email10,email11,email12,email13,email14,e mail15,email16
    zimbraGalLdapAttrMap: zimbraMailForwardingAddress=member
    zimbraGalLdapAttrMap: zimbraPhoneticCompany,ms-DS-Phonetic-Company-Name=phoneticCompany
    zimbraGalLdapAttrMap: zimbraPhoneticFirstName,ms-DS-Phonetic-First-Name=phoneticFirstName
    zimbraGalLdapAttrMap: zimbraPhoneticLastName,ms-DS-Phonetic-Last-Name=phoneticLastName
    zimbraGalLdapPageSize: 1000
    zimbraGalLdapValueMap: zimbraAccountCalendarUserType: Room|Equipment RESOURCE
    zimbraGalLdapValueMap: zimbraCalResType: Room Location
    zimbraGalMaxResults: 100
    zimbraGalSyncLdapPageSize: 1000
    zimbraGalSyncMaxConcurrentClients: 2
    zimbraGalSyncTimestampFormat: yyyyMMddHHmmss'Z'
    zimbraGalTokenizeAutoCompleteKey: and
    zimbraGalTokenizeSearchKey: and
    zimbraId: 2c621ea3-a240-4949-8fd5-49b0b93af678
    zimbraInternalSharingCrossDomainEnabled: TRUE
    zimbraMailCatchAllAddress: @mydomain.net
    zimbraMailCatchAllForwardingAddress: @mydomain.com
    zimbraMailDomainQuota: 0
    zimbraMailSSLClientCertPrincipalMap: SUBJECT_EMAILADDRESS=name
    zimbraMailStatus: enabled
    zimbraReverseProxyClientCertMode: off
    zimbraSkinLogoURL: Zimbra offers Open Source email server software and shared calendar for Linux and the Mac.
    zimbraWebClientMaxInputBufferLength: 1024
    zimbraZimletDataSensitiveInMixedModeDisabled: TRUE
    -------------------------------------------

  9. #9
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,363
    Hello pgn,

    the Dev Team found a bug in ZeXtras Suite 1.6.1 that prevented the correct restore of alias domains restoring them as real domains instead. The issue has been fixed and the fix has been pushed to the production tree for ZeXtras Suite 1.6.2.


    Have a nice day,
    Cine

  10. #10
    pgn
    pgn is offline
    Member
    Join Date
    Aug 2012
    Posts
    44
    Quote Originally Posted by Cine View Post
    the Dev Team found a bug in ZeXtras Suite 1.6.1 that prevented the correct restore of alias domains restoring them as real domains instead. The issue has been fixed and the fix has been pushed to the production tree for ZeXtras Suite 1.6.2.
    Great, thanks!

    Once 1.6.2 is available, what's the proper procedure to 'fix' the current migration's Z8 destination server?

    I'll install/upgrade 1.6.2 on the destination server.

    Since I'm still "mid-migration" (destination is NOT yet in production), I'll do a FullBackup @source, export .../zextras via rsync to the destination server, then @destination do a

    su - zimbra -c "zxsuite backup doExternalRestore /local/path/to/zextras"

    Do I need to FIRST delete the incorrectly-imported-as-real domains?
    Do I need to CREATE them as aliases?

    Or will the v1.6.2 ZeXtras upgrade do this automatically?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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