I began by trying to move my mailcow install from running on docker volumes to storing data on my nas. I started copying the files however after around the 5th volume I remembered the continers were still online. After I continued even finding a copy of the docker compose.
However when I ran the compose I got serveral errors about mysql. I realised I had corrupted the mysql database. I tried several edits to the mysql files and failed. After that I went to launch the old copy and realised that was corrupted as well.
I unforunatly didn’t have a recent snapshot of the vm but I realised its ok I can just clone the snapshot but no it doesn’t work with snapshots on the default local zfs. I then tried to clone the curent state with took a while but worked however the continers kept failing due to the change of ip and my router wouldn’t let me properly swap them and when I tried the internet became unstable. So it had effectivly broken everything else including passbolt!
So I deleted the vm and renamed the mysql volumes. Then when I re launched mailcow my password didn’t work so I used the default and then re added the domain and the accounts and restarted to apply. But then smething very lucky happened my emails were still there so I don’t understand why but I am very happy it workers.