[Enterprise][Data protection] Native account backups omit mail and user_dir storage is internally broken #1046
|
Category: Bug — OpenCLI/OS, Enterprise email storage and native backups OpenPanel version affectedOpenPanel Enterprise OpenCLI upstream commit installed: Operating systemRocky Linux 9.7, kernel SeverityHigh — data protection and restore integrity. This is not a duplicate of #249. That 2024 issue predates the current native We are a paying OpenPanel Enterprise customer. The current implementation can Our production audit found approximately 125 GiB and 1.55 million live Maildir We are not asking the community to design a new backup system. OpenPanel already Current architecture observedWith the documented default: email_storage_location=/var/mail/OpenMail mounts the host's shared mail path at Every account's native backup service separately mounts: mail_data:/backup/mail:roThose are different storage objects. Nothing writes or synchronizes live mail OpenAdmin also offers Public source evidence1. The native account backup expects
|
Replies: 2 comments
|
from what I can see, you are reporting 2 issues:
For the first one, you can just symlink For the existing setting, s GUI and docs state, this can not be changed after creating email accounts. But you can still manually copy the emails in per-user folder, then change the configuration to use it and just restart mailservice. To answer the questions:
Yes, you can switch to user_data on Enterprise.
No, its using /home/$USERNAME/mail/`
What do you mean exactly? To symlink
No migration plan - this is documented that should be set when you setup the mailserver - we can't enforce a location for existing installations. If you do want to move to per-user home dir, its as easy as just
If you are an Enterprise user, message support and we are happy to plan this.
Currently only from terminal by backing up the fodler and restoring. |
|
this is now added tho the upcoming update:
you dont need ot wait for the update, you can patch immediately with: bash <(curl -sSL https://raw.githubusercontent.com/stefanpejcic/OpenPanel/refs/heads/main/version/1.7.67/UPDATE.sh) && opencli update --clihope that resolves everything listed in this discussion - if not, feel free to re-open it |
this is now added tho the upcoming update:
you dont need ot wait for the update, you can patch immediately with:
hope that resolves everything listed in this discussion - if not, feel free to re-open it