What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.1.39
How are you able to access your server: The webadmin
SSH
Describe your issue
Hi everyone,
I’m looking for some advice regarding backup strategy for the mail stack on YunoHost.
Right now, I’m using the yunohost backup CLI and overall I really appreciate how simple and reliable the restore process is. For applications like Nextcloud, I take advantage of options like backup_core_only and handle user data separately with incremental backups. This gives me a good balance between backup size, frequency, and restore simplicity.
However, I’m running into an issue with email: my users’ mailboxes are growing quite large, and backing up data_mail every time is becoming increasingly heavy and inefficient.
What I would ideally like to achieve is something along these lines:
- Keep using
yunohost backupfor system consistency and easy restores - Backup only the mail configuration (Postfix, Dovecot, etc.) via YunoHost
- Handle mailbox data separately using incremental backups (e.g., rsync, borg, restic, etc.), similar to what I do for Nextcloud data
From what I understand, the mail system is treated as a monolithic “system part” in YunoHost, so there’s no built-in way to separate config from data in backups.
Another goal is to avoid needing a disk with roughly double the required capacity just to generate the backup archive locally before transferring it elsewhere.
So my questions are:
- How are you handling backups for large mailboxes?
- Do you exclude
data_mailentirely from YunoHost backups? - If so, how do you ensure reliable and simple restores?
- Are you backing up
/etc/postfix,/etc/dovecot, etc. manually? - Any recommended tooling or best practices for incremental IMAP/maildir backups?
Thanks!
Share relevant logs or error messages
NO