dockerized icon indicating copy to clipboard operation
dockerized copied to clipboard

Moving hosts

Open fleek opened this issue 3 years ago • 2 comments

I had to move to another vps service. So I tared all the data directories and also the scripts I used to run the docker.

Upon moving to the new host and setting up exactly everything, the docker failed to start. How can I recover the emails?

I regret using docker now, I should have just a full VM and I won't have this problem now.

fleek avatar Nov 04 '22 10:11 fleek

Any error in log files?

iredmail avatar Nov 04 '22 13:11 iredmail

Just install it like normal without your backups.

Once its up and running, cp the data from your backups from /iredmail/data/mailboxes/<domain> to the same location on the new server bash into the container and then chown -R vmail:vmail /var/vmail/vmail1/

and bam, all your emails are now readable

JReming85 avatar Oct 05 '23 19:10 JReming85