Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Moving hosts #120

Open
fleek opened this issue Nov 4, 2022 · 2 comments
Open

Moving hosts #120

fleek opened this issue Nov 4, 2022 · 2 comments

Comments

@fleek
Copy link

fleek commented Nov 4, 2022

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.

@iredmail
Copy link
Owner

iredmail commented Nov 4, 2022

Any error in log files?

@JReming85
Copy link

JReming85 commented Oct 5, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants