Hi,
I've actually never used that way of importing users. Is using Zextras to migrate an option for you? It would make things easier.
Also, that timeout is only for the import process? I mean, can you "zmmailbox -z -m admin@domain gaf" for example? This should work (as long as you have an "admin" user).
Regards,
Zmmailbox zclient.IO_ERROR (Read timed out)
Re: Zmmailbox zclient.IO_ERROR (Read timed out)
You haven't mentioned which version of ZCS is used for the current server from which you're moving. The ZeXtras migration tool goes on the source server not the destination server.intercenter wrote:However we did not find a version of Zextras Migration Tool for this version of zimbra. We have always used the Zmmailbox command to export and import accounts in previous zimbra versions as well, including as a backup tool. Do you know what happens in 8.8.15??
Re: Zmmailbox zclient.IO_ERROR (Read timed out)
Hi everybody!!! I also have a similar problem on this version. Who knows what could be the problem?
install the ZCS 8.8.15 on CentOS 7 x 64 RAM 16 GB HDD 4Tb
install the ZCS 8.8.15 on CentOS 7 x 64 RAM 16 GB HDD 4Tb
Re: Zmmailbox zclient.IO_ERROR (Read timed out)
intercenter wrote:Bill the old server is off, i only have the tar.gz files exported by zmmailbox command.phoenix wrote:You haven't mentioned which version of ZCS is used for the current server from which you're moving. The ZeXtras migration tool goes on the source server not the destination server.intercenter wrote:However we did not find a version of Zextras Migration Tool for this version of zimbra. We have always used the Zmmailbox command to export and import accounts in previous zimbra versions as well, including as a backup tool. Do you know what happens in 8.8.15??
Regards
Could this be related to the settings for the volume of downloading letters?
Re: Zmmailbox zclient.IO_ERROR (Read timed out)
In general, I found a solution like this. And it helped me move the big boxes.intercenter wrote:After install the ZCS 8.8.15 on Ubuntu 16.04 LTS, we are trying to restore accounts backup using zmmailbox as ever:
sudo -u zimbra /opt/zimbra/bin/zmmailbox -z -m -t 0 account@domain postRestURL "//?fmt=tgz&resolve=skip" /backup/domain/backupfile.tgz
we always get this error:
ERROR: zclient.IO_ERROR (Read timed out) (cause: java.net.SocketTimeoutException Read timed out)
Anybody knows how to use zmmailbox to recovery mailboxes? Any Changes on 8.8.15
https://wiki.zimbra.com/wiki/Guide_to_imapsync
An example in my experience. Zimbra to zimbra. We install "yum install imapsync -y" the utility on the server from where we transfer mail and run the command as root
Code: Select all
imapsync --nofoldersizes --skipsize --fast --nosyncacls --syncinternaldates --host1 192.168.0.1 --user1 "mailuser@domain.com" --authuser1 "admin" --password1 "XXXXXXXXX" --ssl1 --host2 192.168.0.2 --user2 "mailuser@domain.com" --authuser2 "admin" --password2 "YYYYYYYYY" --ssl2
Code: Select all
zmprov -l gaa | tee -a users.txt
Code: Select all
#!/bin/bash
host1=192.168.0.1 # host1 is Source
host2=192.168.0.2 # host2 is Dest
admin1=admin
admin2=admin
admpass1=XXXXXXX
admpass2=YYYYYYY
for user in `cat users.txt`; do
echo "Exporting mailbox $user" ;
imapsync --nofoldersizes --skipsize --fast --nosyncacls --syncinternaldates \
--host1 $host1 --user1 "$user" --authuser1 "$admin1" --password1 "$admpass1" --ssl1 \
--host2 $host2 --user2 "$user" --authuser2 "$admin2" --password2 "$admpass2" --ssl2 ;
done;