I have a running mailcow server, version 2023-03.
Is it safe to update in one step to the recent version (2024-04)?
Thanks
English
I have a running mailcow server, version 2023-03.
Is it safe to update in one step to the recent version (2024-04)?
Thanks
Do a backup and try it. You have skipped a lot of security updates…
Have something to say?
Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!
esackbauer Do a backup and try it.
This is basic.esackbauer You have skipped a lot of security updates…
I know, that’s why was the question, but than I ask another way.
Can I update my server version by version? If yes, how can I do that?
Thanks
zsiraf Can I update my server version by version?
Probably you can if you work with custom docker-compose files.
zsiraf If yes, how can I do that?
Its a manual process. You need a lot docker compose know how and your way around github.
If you have a backup, why don’t you try the direct update to 2024-04?
esackbauer If you have a backup, why don’t you try the direct update to 2024-04?
The size of the backup is the problem. It’s too huge and will take long time to load back if anything goes wrong.
zsiraf It’s too huge and will take long time to load back if anything goes wrong.
So you are telling you have a backup but you cannot use it? I guess you don’t need to restore the vmail volumes, those contain the mails and are probably huge.
Does your hoster provide a snapshot function? That would be the easiest way.
esackbauer I guess you don’t need to restore the vmail volumes,
Good to know! Vmail volume folders are really huge.
esackbauer Does your hoster provide a snapshot function?
This is my own server with snapshot enabled btrfs filesystem. So I’ll try during night time.
Thanks
zsiraf snapshot enabled btrfs
That should do the trick, just create one before you run the update. Just make sure before you run the update that there is enough space left on the mailcow/docker mount points. As probably all containers will be updated, resulting in several GB running into the btrfs snapshot delta.