[SOLVED] Backup / Restore with tgz formatter
I am using these 2 commands for migrating accounts from server 1 to server 2 (both in the same version) :
/opt/zimbra/bin/zmmailbox -z -m firstname.lastname@example.org getRestURL “//?fmt=tgz” > /tmp/account.tgz
But now I want to use the same method for a 'update' operation on the same server for a test from version 5.0.18 to 6RC1
/opt/zimbra/bin/zmmailbox -z -m email@example.com postRestURL “//?fmt=tgz&resolve=reset” /tmp/account.tgz
But it seems that the tgz file resulting in the backup on version 5 in not compatible with tgz for version 6 ???
As I can't use imapsync, what other tool I can use ?
PS : sorry, but this post should be in the 'Migration' forum.
I got the solution to this issue
Originally Posted by phoenix
I understand that it is a closed message, but it had not solution until this time.
I solved this issue replacing the & (ampersand symbol) with the equivalent to URLs: %26%.
When I tested the "&" in Zimbra 6 there was not problem, but when migrate to Zimbra 8 the problem appeared.
So in any message of this forum this solution doesnt appears and this is my contribution.
/opt/zimbra/bin/zmmailbox -z -m firstname.lastname@example.org postRestURL “//?fmt=tgz%26%resolve=reset” /tmp/account.tgz