[GH-ISSUE #187] Bug: BackupAction.sh line 100 - Invalid syntax for comma-separated accounts #148

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

Originally created by @linuxgokan on GitHub (Dec 29, 2025).
Original GitHub issue: https://github.com/lucascbeyeler/zmbackup/issues/187

/usr/local/lib/zmbackup/bash/BackupAction.sh: line 100: [admin@domain.com](mailto:admin@domain.com)//,/\n/g: No such file or directory

Fix:

for i in $(echo "$4" | sed 's/,/\n/g'); do

Environment:

  • OS: Ubuntu 22.04
  • Zimbra Version: Release 10.1.11.GA.0425.UBUNTU22.64 UBUNTU22_64 FOSS edition.
  • zmbackup: latest from git

Steps to Reproduce:

  1. zmbackup -f -a admin@domain.com -m full
  2. Error occurs at line 100

Tested fix works correctly.

Originally created by @linuxgokan on GitHub (Dec 29, 2025). Original GitHub issue: https://github.com/lucascbeyeler/zmbackup/issues/187 `/usr/local/lib/zmbackup/bash/BackupAction.sh: line 100: [admin@domain.com](mailto:admin@domain.com)//,/\n/g: No such file or directory ` ## Fix: ```bash for i in $(echo "$4" | sed 's/,/\n/g'); do ``` ## Environment: - OS: Ubuntu 22.04 - Zimbra Version: Release 10.1.11.GA.0425.UBUNTU22.64 UBUNTU22_64 FOSS edition. - zmbackup: latest from git ## Steps to Reproduce: 1. `zmbackup -f -a admin@domain.com -m full` 2. Error occurs at line 100 Tested fix works correctly.
Author
Owner

@lucascbeyeler commented on GitHub (Jan 4, 2026):

Can you create a pull request? I can review and merge on the branch.

<!-- gh-comment-id:3707610185 --> @lucascbeyeler commented on GitHub (Jan 4, 2026): Can you create a pull request? I can review and merge on the branch.
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#148
No description provided.