mailcow / mailcow-dockerized-docs

mailcow: dockerized - documentation 📰
https://docs.mailcow.email
87 stars 214 forks source link

Create Borg Backup even when backing up mysql #700

Closed wb7 closed 4 months ago

wb7 commented 4 months ago

Hello,

regarding this forum thread: https://community.mailcow.email/d/1796-borgmatic-does-not-backup-vmail/ Borgmatic isn't backing up everything when also dumping the database using a hook because of the one_file_system: true setting.

Adding the mounted volumes explicitly to the list solves this issue.

mrclschstr commented 4 months ago

Just for cross reference, I have already opened issues for this:

MAGICCC commented 4 months ago

So we can merge this safely?

mrclschstr commented 4 months ago

Yes, I think that's a reasonable workaround for the moment.

Maybe a small improvement: I'm pretty sure that the path /mnt/source in the borgmatic configuration under source_directories is no longer needed. Maybe @wb7 could confirm this briefly?

wb7 commented 4 months ago

I checked the suggestion of @mrclschstr and can confirm this; /mnt/source could be removed.

MAGICCC commented 4 months ago

ok thx

witten commented 4 months ago

LGTM!