mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-06-17 20:38:49 -04:00
28 lines
593 B
Bash
Executable File
28 lines
593 B
Bash
Executable File
#!/bin/bash
|
|
# Snapshots the current configuration of a Stalwart >= 0.16 server.
|
|
# Requires having stalwart-cli installed.
|
|
set -euo pipefail
|
|
exec stalwart-cli -k --url 'https://stalwart.opencloud.test' --user admin --password secret snapshot \
|
|
--include-secrets \
|
|
Tenant \
|
|
Domain \
|
|
Directory \
|
|
Authentication \
|
|
DkimSignature \
|
|
AcmeProvider \
|
|
Certificate \
|
|
DnsServer \
|
|
Role \
|
|
Authentication \
|
|
Account \
|
|
NetworkListener \
|
|
Tracer \
|
|
Sharing \
|
|
SystemSettings \
|
|
DataRetention \
|
|
BlobStore \
|
|
InMemoryStore \
|
|
SearchStore \
|
|
--allow-unresolved PublicKey \
|
|
"$@"
|