zmbackup icon indicating copy to clipboard operation
zmbackup copied to clipboard

Empty mailbox backup files when "Public Service Host Name" is configured.

Open IncubuzzCC opened this issue 2 years ago • 1 comments

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 [email protected]
    -rw-r----- 1 zimbra zimbra    0 Apr 25 17:47 [email protected]
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 [email protected]
    -rw-r----- 1 zimbra zimbra 377M Apr 25 20:03 [email protected]

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

IncubuzzCC avatar Apr 25 '22 20:04 IncubuzzCC

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

ananiasfilho avatar Apr 27 '22 00:04 ananiasfilho