This commit is contained in:
James Hodgkinson 2021-08-22 16:05:28 +10:00 committed by GitHub
parent 9456cac15b
commit bc31d42f22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 27 deletions

View file

@ -36,19 +36,6 @@ db_path = "/var/lib/kanidm/kanidm.db"
# origin = "https://idm.example.com" # origin = "https://idm.example.com"
origin = "https://idm.example.com:8443" origin = "https://idm.example.com:8443"
# #
#
# [online_backup]
# The path to the output folder for online backups
# path = "/var/lib/kanidm/backups/"
# The schedule to run online backups - see https://crontab.guru/
# every day at 22:00 UTC (default)
# schedule = "00 22 * * *"
# four times a day at 3 minutes past the hour, every 6th hours
# schedule = "03 */6 * * *"
# Number of backups to keep (default 7)
# versions = 7
#
#
# The role of this server. This affects features available and how replication may interact. # The role of this server. This affects features available and how replication may interact.
# Valid roles are: # Valid roles are:
# - WriteReplica # - WriteReplica
@ -60,4 +47,16 @@ origin = "https://idm.example.com:8443"
# This server will not writes initiated by clients. It supports authentication and reads, # This server will not writes initiated by clients. It supports authentication and reads,
# and must have a replication agreement as a source of it's data. # and must have a replication agreement as a source of it's data.
# Defaults to "WriteReplica". # Defaults to "WriteReplica".
# role = "WriteReplica" # role = "WriteReplica"
#
# [online_backup]
# The path to the output folder for online backups
# path = "/var/lib/kanidm/backups/"
# The schedule to run online backups - see https://crontab.guru/
# every day at 22:00 UTC (default)
# schedule = "00 22 * * *"
# four times a day at 3 minutes past the hour, every 6th hours
# schedule = "03 */6 * * *"
# Number of backups to keep (default 7)
# versions = 7
#

View file

@ -40,19 +40,6 @@ You will also need a config file in the volume named `server.toml` (Within the c
# origin = "https://idm.example.com" # origin = "https://idm.example.com"
origin = "https://idm.example.com:8443" origin = "https://idm.example.com:8443"
# #
#
# [online_backup]
# The path to the output folder for online backups
# path = "/var/lib/kanidm/backups/"
# The schedule to run online backups - see https://crontab.guru/
# every day at 22:00 UTC (default)
# schedule = "00 22 * * *"
# four times a day at 3 minutes past the hour, every 6th hours
# schedule = "03 */6 * * *"
# Number of backups to keep (default 7)
# versions = 7
#
#
# The role of this server. This affects features available and how replication may interact. # The role of this server. This affects features available and how replication may interact.
# Valid roles are: # Valid roles are:
# - WriteReplica # - WriteReplica
@ -65,6 +52,19 @@ You will also need a config file in the volume named `server.toml` (Within the c
# and must have a replication agreement as a source of it's data. # and must have a replication agreement as a source of it's data.
# Defaults to "WriteReplica". # Defaults to "WriteReplica".
# role = "WriteReplica" # role = "WriteReplica"
#
# [online_backup]
# The path to the output folder for online backups
# path = "/var/lib/kanidm/backups/"
# The schedule to run online backups - see https://crontab.guru/
# every day at 22:00 UTC (default)
# schedule = "00 22 * * *"
# four times a day at 3 minutes past the hour, every 6th hours
# schedule = "03 */6 * * *"
# Number of backups to keep (default 7)
# versions = 7
#
An example is located in [examples/server.toml](../../examples/server.toml). An example is located in [examples/server.toml](../../examples/server.toml).