-
-
Notifications
You must be signed in to change notification settings - Fork 361
🚀: Export (and Import) ALL settings (not mails etc.) #1484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
If moving /opt/stalwart-mail didn't work, then something weird has happened. I've successfully moved Stalwart from one host to another this way. Did you shut down Stalwart before copying the directory? Could the content have been corrupted in transit somehow? |
No, I stopped it, tarred up the directory, transferred and unpacked it. I wasn't happy with how it seemed to run, so I did a fresh install and redid all the settings. It would be nice if I could redo the settings from a single settings file. Then if settings need to be changed, they can be changed beforehand, and the GUI doesn't need to be involved. |
That's the same process that I used to migrate it, although I do all of my settings in the TOML file, rather than using the GUI. |
It would be great if ALL settings could be in the |
The way configuration works in Stalwart is confusing and error prone. Getting everything into the config file wasn't an easy process. Firstly you need something like:
That tells Stalwart which config keys should be taken from the config file. |
Wow, that is great to know! Probably deserves to be documented officially. But that really needs to be made easier though. |
It is documented: https://stalw.art/docs/configuration/overview But, yes, I think there are much more simple and much less error-prone ways for Stalwart configuration to work. |
OK, so that is the default, plus: And |
Which feature or improvement would you like to request?
I'd like to see this feature:
An option in the GUI to Export ALL settings, and a way to Import ALL settings.
So that a Stalwart instance can be recreated by just importing the settings file.
(For me, this doesn't have to be through the GUI. Actually, bypassing the GUI completely for this I would find desirable. But for the GUI people, they will want to have this option in the GUI.)
Is your feature request related to a problem?
I'm having a problem with...
Recreating a Stalwart instance. What had been recommended was to backup the whole /opt/stalwart-mail directory, and put it back on a new install, but I have found this not to work well.
Code of Conduct
The text was updated successfully, but these errors were encountered: