From fb611e256128ac877b488403e4d545b3b53a0a5f Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Mon, 29 Aug 2022 00:14:25 -0500 Subject: [PATCH] Ignore backups dir --- .gitignore | 1 + config/simplebackups-common.toml | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 config/simplebackups-common.toml diff --git a/.gitignore b/.gitignore index fe4ac56..2dadb94 100644 --- a/.gitignore +++ b/.gitignore @@ -68,3 +68,4 @@ pregen/supporters.json bettervillage_general_* config_new_temp.json config/roughlyenoughitems/changelog.txt +simplebackups diff --git a/config/simplebackups-common.toml b/config/simplebackups-common.toml new file mode 100644 index 0000000..a62c7bc --- /dev/null +++ b/config/simplebackups-common.toml @@ -0,0 +1,22 @@ +#The max amount of backup files to keep. +#Range: 1 ~ 32767 +backupsToKeep = 10 +#The time between two backups in minutes +#5 = each 5 minutes +#60 = each hour +#1440 = each day +#Range: 1 ~ 32767 +timer = 120 +#Should message be sent when backup is in the making? +sendMessages = true +#The max size of storage the backup folder. If it takes more storage, old files will be deleted. +#Needs to be written as +#Valid storage types: B, KB, MB, GB, TB +maxDiskSize = "25 GB" +#Used to define the output path. +outputPath = "simplebackups" + +[mod_compat] + #Should backup notifications be sent to Discord by using mc2discord? (needs to be installed) + mc2discord = true +