Textile Backup Config

This commit is contained in:
Sangelo 2023-11-23 20:37:42 +01:00
parent a47b678298
commit 85d5b9a06f
3 changed files with 114 additions and 1 deletions

109
config/textile_backup.json5 Normal file
View file

@ -0,0 +1,109 @@
{
/*
Should every world have its own backup folder?
*/
"perWorldBackup": true,
/*
Time between automatic backups in seconds
When set to 0 backups will not be performed automatically
*/
"backupInterval": 3600,
/*
Delay in seconds between typing-in /backup restore and it actually starting
*/
"restoreDelay": 30,
/*
Should backups be done even if there are no players?
*/
"doBackupsOnEmptyServer": false,
/*
Should backup be made on server shutdown?
*/
"shutdownBackup": true,
/*
Should world be backed up before restoring a backup?
*/
"backupOldWorlds": true,
/*
A path to the backup folder
*/
"path": "backup/",
/*
This setting allows you to exclude files form being backed-up.
Be very careful when setting it, as it is easy corrupt your world!
*/
"fileBlacklist": [],
/*
Should backups be deleted after being restored?
*/
"deleteOldBackupAfterRestore": true,
/*
Maximum number of backups to keep. If set to 0 then no backup will be deleted based their amount
*/
"backupsToKeep": 8,
/*
Maximum age of backups to keep in seconds.
If set to 0 then backups will not be deleted based their age
*/
"maxAge": 0,
/*
Maximum size of backup folder in kibi bytes (1024).
If set to 0 then backups will not be deleted
*/
"maxSize": 10485760,
/*
Compression level
0 - 9
Only affects zip compression.
*/
"compression": 7,
/*
Limit how many cores can be used for compression.
0 means that all available cores will be used
*/
"compressionCoreCountLimit": 0,
/*
Available formats are:
ZIP - normal zip archive using standard deflate compression
GZIP - tar.gz using gzip compression
TAR - .tar with no compression
*/
"format": "GZIP",
/*
Minimal permission level required to run commands
*/
"permissionLevel": 4,
/*
Player on singleplayer is always allowed to run command. Warning! On lan party everyone will be allowed to run it.
*/
"alwaysSingleplayerAllowed": true,
/*
Players allowed to run backup commands without sufficient permission level
*/
"playerWhitelist": [],
/*
Players banned from running backup commands besides their sufficient permission level
*/
"playerBlacklist": [],
/*
Announce to ALL players when backup starts
*/
"broadcastBackupStart": true,
/*
Announce to ALL players when backup finishes
*/
"broadcastBackupDone": true,
/*
Format of date&time used to name backup files.
Remember not to use '#' symbol or any other character that is not allowed by your operating system such as:
':', '\', etc...
For more info: https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html
*/
"dateTimeFormat": "yyyy.MM.dd_HH-mm-ss",
/*
The Strict mode (default) aborts backup creation in case of any problem and deletes created files
Permissible mode keeps partial/damaged backup but won't allow to restore it
Very Permissible mode will skip the verification process. THIS MOST CERTAINLY WILL LEAD TO DATA LOSS OR CORRUPTION
*/
"integrityVerificationMode": "STRICT"
}

View file

@ -296,6 +296,10 @@ hash = "992ba9f3a4a7ce3de112eb95575328956fdc3ce6781c455ebce7b23db7e7da42"
file = "config/spark/tmp/about.txt" file = "config/spark/tmp/about.txt"
hash = "8057ccf4540ea269b0fc332225859f44d8f3a55d891fa2e7a3447b6202658d2a" hash = "8057ccf4540ea269b0fc332225859f44d8f3a55d891fa2e7a3447b6202658d2a"
[[files]]
file = "config/textile_backup.json5"
hash = "884daa2a582a871cad7389242002759d3c4b76247213242f35a0fef98f96118f"
[[files]] [[files]]
file = "config/toms_storage.json" file = "config/toms_storage.json"
hash = "ebd3d7ddf4e75b9b293bb6e389110a25a17ff1f1de4d3ea931d73368f6347039" hash = "ebd3d7ddf4e75b9b293bb6e389110a25a17ff1f1de4d3ea931d73368f6347039"

View file

@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
[index] [index]
file = "index.toml" file = "index.toml"
hash-format = "sha256" hash-format = "sha256"
hash = "e087508094107e299ada14a56ae91dfb4ce76df96c956af17b0cd7cde8ca8c2a" hash = "62fe7640679966e1aac8c3d3eedf27a62e55a505f97a717e5b459d8df34da350"
[versions] [versions]
minecraft = "1.20.1" minecraft = "1.20.1"