[GH-ISSUE #167] Emails are not recovered correctly from full bakcup #133

Closed
opened 2026-02-27 08:14:31 +03:00 by kerem · 3 comments
Owner

Originally created by @soniqsoft on GitHub (Aug 22, 2021).
Original GitHub issue: https://github.com/lucascbeyeler/zmbackup/issues/167

ISSUE TYPE
  • Bug Report
ENVIRONMENT VERSION
  • Zmbackup Version: 1.26
  • Zimbra Version: 8.8.15_GA_3869
  • Linux Distribution & Version: Ubuntu 18.04 LTS
SUMMARY

Started to recover email account with m option (mailbox only) and received recovered partially with error:
ERROR: zclient.IO_ERROR (Read timed out) (cause: java.net.SocketTimeoutExce|
ption Read timed out)

STEPS TO REPRODUCE
Recover mailbox account from full backup session
zmbackup -r -m <session> <email>
<!--
ACTUAL RESULTS: What happened when you did the steps before.
-->
##### ACTUAL RESULTS

ERROR: zclient.IO_ERROR (Read timed out) (cause: java.net.SocketTimeoutExce|
ption Read timed out)

Originally created by @soniqsoft on GitHub (Aug 22, 2021). Original GitHub issue: https://github.com/lucascbeyeler/zmbackup/issues/167 <!-- Before open an issue, please remember to check our Google Group (link in README.md) and the other issues. Maybe what you want is already answered. You don't need to answer all the questions below, just answer what is pertinent to what you want (You don't need to explain the steps to reproduce and the results if your issue is about the documentation) --> <!-- ISSUE TYPE: Inform what kind of issue we are talking about. Choose only one option. --> ##### ISSUE TYPE - Bug Report <!-- ENVIRONMENT VERSION: Describe the environment you are using the Zmbackup and its version. --> ##### ENVIRONMENT VERSION - Zmbackup Version: 1.26 - Zimbra Version: 8.8.15_GA_3869 - Linux Distribution & Version: Ubuntu 18.04 LTS <!-- SUMMARY: Describe your issue in this field. The more detailed you gave us, more easy and fast will be for us to debug and fix the software. --> ##### SUMMARY Started to recover email account with m option (mailbox only) and received recovered partially with error: ERROR: zclient.IO_ERROR (Read timed out) (cause: java.net.SocketTimeoutExce| ption Read timed out) <!--- SUMMARY:For bugs, show exactly how to reproduce the problem, using a minimal test-case. For new features, show how the feature would be used. --> ##### STEPS TO REPRODUCE ``` Recover mailbox account from full backup session zmbackup -r -m <session> <email> <!-- ACTUAL RESULTS: What happened when you did the steps before. --> ##### ACTUAL RESULTS ``` ERROR: zclient.IO_ERROR (Read timed out) (cause: java.net.SocketTimeoutExce| ption Read timed out) ```
kerem closed this issue 2026-02-27 08:14:31 +03:00
Author
Owner

@ananiasfilho commented on GitHub (Apr 27, 2022):

Its said "Time Out"
Try restore backup using zmmailbox

zmmailbox -z -m user@example.com -t 0 postRestURL "//?fmt=tgz&resolve=reset" /backup/user@example.com.tar.gz

-t 0 is the tip that say to zmmailbox to run command without timeout limit.

<!-- gh-comment-id:1110376775 --> @ananiasfilho commented on GitHub (Apr 27, 2022): Its said "Time Out" Try restore backup using zmmailbox zmmailbox -z -m user@example.com **_-t 0_** postRestURL "//?fmt=tgz&resolve=reset" /backup/user@example.com.tar.gz -t 0 is the tip that say to zmmailbox to run command without timeout limit.
Author
Owner

@soniqsoft commented on GitHub (Apr 27, 2022):

Thank you @ananiasfilho!
I found it earlier but forgot to mention it here.
Thanks a lot anyway.

<!-- gh-comment-id:1111527905 --> @soniqsoft commented on GitHub (Apr 27, 2022): Thank you @ananiasfilho! I found it earlier but forgot to mention it here. Thanks a lot anyway.
Author
Owner

@andreagobetti commented on GitHub (Feb 22, 2024):

For me the -t 0 option was not enough, but I managed to solve this issue increasing the socket_so_timeout value from 30000 to 3000000

using these commands:

zmlocalconfig -e socket_so_timeout=3000000
zmlocalconfig --reload

Like mgarbo suggested here: https://community.zextras.com/forum/zimbra-ose-9-by-zextras/zmmailbox-postresturl-doesnt-work/

<!-- gh-comment-id:1960352077 --> @andreagobetti commented on GitHub (Feb 22, 2024): For me the `-t 0` option was not enough, but I managed to solve this issue increasing the `socket_so_timeout` value from 30000 to `3000000` using these commands: ``` zmlocalconfig -e socket_so_timeout=3000000 zmlocalconfig --reload ``` Like _mgarbo_ suggested here: https://community.zextras.com/forum/zimbra-ose-9-by-zextras/zmmailbox-postresturl-doesnt-work/
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/zmbackup#133
No description provided.