I know this is a 99% chance that I am doing something both wrong and foolish here but I can not get the zmslapcat -c command to work in a migration from a 32 bit server to a 64 bit server
The Zimbra server is running on Centos 5.2 and is version 6.0.12. I am following the Wiki guide for migration from 32 to 64 but fall at the first hurdle!
I have no trouble with this line in the Wiki
'6. Backup the LDAP data, as zimbra, type /opt/zimbra/libexec/zmslapcat /backup'
it creates an ldap.bak file in the /backup directory and I run this as the Zimbra user but I can't get this one to work
'5. On ZCS 6.0 and later, backup the LDAP config database, as zimbra, type /opt/zimbra/libexec/zmslapcat -c /backup'.
All I ever get is something like
'mkdir: invalid option -- c
Try `mkdir --help' for more information.
-c/ldap.bak.20110830154307: No such file or directory
cp: invalid option -- /
Try `cp --help' for more information.'
I have created a /backup directory with the zimbra user and group having permission to access, read and write to it. What am I doing wrong? If it is permissions to the folder then why does the standard zmslapcat command work fine?
I know it must be something simple but need a nudge in the right direction