Configuration - Szum123321/textile_backup GitHub Wiki
textile_backup.json5
and can be edited using normal notepad.
Textile Backup is highly configurable. Here you can find description of its config file which can be found inside config folder and is called Please, keep in mind, that not all features are available in every mod version!
-
backupInterval
- default: 3600
- Here you can set the time in seconds between each automatic backup
- When set to 0, backups will not be made automatically. (Available since 1.3.0)
-
doBackupsOnEmptyServer
- default: false
- This setting allows you to specify whether backups should be done while there are no players on server.
-
shutdownBackup
- default: true
- This setting allows you to specify whether backup should be made upon server shut down.
-
path
- default: "backup/"
- Path to folder where backup files will be saved. Can be both absolute and relative to game folder. Defaults to relative path to game folder (.minecraft/backup/)
- On Windows, if you want to specify another drive, the drive letter should be followed by a colon and two backslashes
-
fileBlacklist
- default: []
- Here you can exclude files form being backuped.
- this is a relative path to the file, so let's say you want to exclude icon file, then you put "icon.png" into square brackets like this:
"fileBlacklist": [
"icon.png"
],
-
perWorldBackup
- default: true
- Useful on singleplayer when you play on multiple worlds and want to have separate backups for each world. If set to true, inside backup path additional folders will be created for each world.
-
backupsToKeep
- default: 10
- Numbers of backups to keep. If more than that is found, then excess will be deleted starting with the oldest.
- When set to 0, then no backups will be deleted based on their number.
-
maxAge
- default: 0
- Maximum age in seconds of single backup that will be kept. Any backup older than maxAge will be deleted.
- When set to 0, then no backups will be deleted based on their age.
-
maxSize
- default: 0
- Maximum size of backup folder in kilobytes(2^10). In case the folder becomes too big, files will be deleted starting with the oldest ones.
- When set to 0, then no backups will be deleted based on their size.
-
compression
- default: 1, range 0 - 9
- Only affects ZIP
- Zip compression level. Higher values yields smaller files, but compression will take longer.
-
format
- Here you can select how files would be compressed.
- Windows file explorer is, by default, only able to open zips, so to use any other compressor, you will need some other software such as 7-Zip.
Available options ZIP GZIP BZIP2 LZMA TAR Speed HIGH HIGH MEDIUM LOW FASTEST Compression Ratio LOW LOW MEDIUM HIGH NONE Extension .zip .tar.gz .tar.bz2 .tar.xz .tar Multi-threaded? YES* YES YES NO NO Require 7-Zip on Windows? NO YES YES YES YES * There are still some issues with multi-threaded ZIP See.
-
log
- default: true
- Print info to game out