Add config file for snapshots
parent
f9672558d3
commit
5b7f3aa6ab
@ -0,0 +1,18 @@
|
|||||||
|
[server]
|
||||||
|
host = "127.0.0.1" # The IP address to which you want TDB to bind to
|
||||||
|
port = 2003 # The port to which you want TDB to bind to
|
||||||
|
# Set `noart` to true if you want to disable terminal artwork
|
||||||
|
noart = false
|
||||||
|
|
||||||
|
[bgsave]
|
||||||
|
# Run `BGSAVE` `every` seconds. For example, setting this to 60 will cause BGSAVE to run
|
||||||
|
# after every 2 minutes
|
||||||
|
enabled = true
|
||||||
|
every = 120
|
||||||
|
|
||||||
|
[snapshot]
|
||||||
|
enabled = true # set to false to disable snapshots
|
||||||
|
# Create a snapshot every hour (1 hour = 60 minutes = 60 * 60 seconds = 3600 seconds)
|
||||||
|
every = 3600
|
||||||
|
# How many of the snapshots to keep
|
||||||
|
atmost = 4 # keep the four most recent snapshots
|
Loading…
Reference in New Issue