[GH-ISSUE #174] Empty mailbox backup files when "Public Service Host Name" is configured. #139

Open
opened 2026-02-27 08:14:34 +03:00 by kerem · 1 comment
Owner

Originally created by @IncubuzzCC on GitHub (Apr 25, 2022).
Original GitHub issue: https://github.com/lucascbeyeler/zmbackup/issues/174

ISSUE TYPE
  • Question
ENVIRONMENT VERSION
  • Zmbackup Version: 1.2.6
  • Zimbra Version: 8.8.15
  • Linux Distribution & Version: Ubuntu 18.04.6 LTS
SUMMARY

Mailbox backup files are empty (0 bytes) when "Public Service Host Name" is configured.

STEPS TO REPRODUCE
1. set up a domain (mydomain.com) with "Public Service Host Name" (mail.mydomain.com).
2. run  zmbackup -f as zimbra user.
3. view backup folder content:
    -rw-r----- 1 zimbra zimbra 4.3K Apr 25 17:47 me@mydomain.com.ldiff
    -rw-r----- 1 zimbra zimbra    0 Apr 25 17:47 me@mydomain.com.tgz
4. open domain configuration and remove "Public Service Host Name" setting (leave empty) and safe.
5. run  zmbackup -f as zimbra user again.
6. view backup folder content:
    -rw-r----- 1 zimbra zimbra 4.4K Apr 25 19:53 me@mydomain.com.ldiff
    -rw-r----- 1 zimbra zimbra 377M Apr 25 20:03 me@mydomain.com.tgz

ACTUAL RESULTS
When "Public Service Host Name" is configured, the mailbox backup files are empty.

Is this an expected behavior?
Screenshot from 2022-04-25 13-57-53

Originally created by @IncubuzzCC on GitHub (Apr 25, 2022). Original GitHub issue: https://github.com/lucascbeyeler/zmbackup/issues/174 ##### ISSUE TYPE - Question ##### ENVIRONMENT VERSION - Zmbackup Version: 1.2.6 - Zimbra Version: 8.8.15 - Linux Distribution & Version: Ubuntu 18.04.6 LTS ##### SUMMARY Mailbox backup files are empty (0 bytes) when "Public Service Host Name" is configured. ##### STEPS TO REPRODUCE ``` 1. set up a domain (mydomain.com) with "Public Service Host Name" (mail.mydomain.com). 2. run zmbackup -f as zimbra user. 3. view backup folder content: -rw-r----- 1 zimbra zimbra 4.3K Apr 25 17:47 me@mydomain.com.ldiff -rw-r----- 1 zimbra zimbra 0 Apr 25 17:47 me@mydomain.com.tgz 4. open domain configuration and remove "Public Service Host Name" setting (leave empty) and safe. 5. run zmbackup -f as zimbra user again. 6. view backup folder content: -rw-r----- 1 zimbra zimbra 4.4K Apr 25 19:53 me@mydomain.com.ldiff -rw-r----- 1 zimbra zimbra 377M Apr 25 20:03 me@mydomain.com.tgz ``` ##### ACTUAL RESULTS ``` When "Public Service Host Name" is configured, the mailbox backup files are empty. ``` Is this an expected behavior? ![Screenshot from 2022-04-25 13-57-53](https://user-images.githubusercontent.com/14917405/165166831-33b1bd44-a9c2-49b8-a527-b31dcc703187.png)
Author
Owner

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

if you set public hostname, then domain only can use this spcific hostname, so you will need change server hostname on zmbackup.

<!-- gh-comment-id:1110375320 --> @ananiasfilho commented on GitHub (Apr 27, 2022): if you set public hostname, then domain only can use this spcific hostname, so you will need change server hostname on zmbackup.
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#139
No description provided.