Friday, November 7, 2014

system failure: POST failed, status=413 upload too large: file '/': upload too large -- Restoring Large Zimbra backups

Okay so zimbra account restoration for large accounts ( above 1GB ) was not working for me. the following steps helped to restore large accounts.

What you need to do is  to change parameter rest_request_max_upload_size to a larger value. Here we will change it to 10GB.

# su zimbra
# /opt/zimbra/bin/zmlocalconfig -e rest_request_max_upload_size=10737418240
#  zmmailboxdctl restart
# exit

Then run the import backup account like this as root user.

# /opt/zimbra/bin/zmmailbox -z -m "email@domain.com" postRestURL "//?fmt=tgz&resolve=reset"  backupfile.tar.gz

Thanks to Andrea for the tip :)

ref url: LINK

No comments:

Post a Comment