Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Configuration file
- general {
- # Interval for backups in minutes. Useful for singleplayer.
- # Set this to 0 to enable backupSchedule instead. [range: 0 ~ 2147483647, default: 180]
- I:backupInterval=0
- # The path where to store the backups. Can be a relative or absolute path. [default: ../backups]
- S:backupPath=../backups
- # The prefix for the created Zip files. Archives will be formatted as '$prefix_[persistent_]worldname_timestamp.zip'. [default: backup]
- S:backupPrefix=backup
- # The times for when to do backups in 24h format. Useful for servers.
- # If backupInterval is >0 then this setting has no effect. [default: ]
- S:backupSchedule < 0400
- >
- # List of regular expressions to determine what to EXCLUDE from the backup.
- # By default everything in the installation directory and only the current save directory (in SP) will be included in the backup.
- # This blacklist will not be applied to the current save directory.
- # If you want to backup only the current save set the blacklist to '.*' (without the quotes). [default: [.*logs.*], [.*backups.*]]
- S:blacklist <
- .*backups.*
- .*archive.*
- .*asm.*
- .*crash-reports.*
- .*libraries.*
- .*logs.*
- .*manualBackUps.*
- .*mods.*
- >
- # The Zip compression level to use to create backup archives (0 = no compression, 9 = maximum compression). [range: 0 ~ 9, default: 4]
- I:compressionLevel=6
- # Whether FTP upload is enabled or not. [default: false]
- B:ftpEnabled=false
- # The remote directory to upload backups to. [default: yabm2_backups]
- S:ftpLocation=yabm2_backups
- # The password to use to authenticate with the FTP server. [default: ]
- S:ftpPassword=
- # Whether to only upload persistent backups or everything.
- # If persistentBackups is set to false regular backups will be uploaded instead. [default: true]
- B:ftpPersistentOnly=true
- # The FTP server port to use. [range: 1 ~ 2147483647, default: 21]
- I:ftpPort=21
- # The FTP server address to upload backups to. [default: ]
- S:ftpServer=
- # The username to use to authenticate with the FTP server. [default: ]
- S:ftpUsername=
- # The number of normal backups to keep. If the total backup count exceeds this number the oldest backups will be deleted.
- # 0 = disabled. [range: 0 ~ 2147483647, default: 8]
- I:maxBackupCount=2
- # The number of persistent backups to keep. If the total backup count exceeds this number the oldest backups will be deleted.
- # 0 = disabled. [range: 1 ~ 2147483647, default: 14]
- I:maxPersistentCount=2
- # How many seconds to pause backup creation. Has no effect if pauseInterval = 0. [range: 1 ~ 100, default: 3]
- I:pauseDuration=3
- # How many seconds to wait between pausing the backup creation.
- # Set to 0 to disable pauses. [range: 0 ~ 2147483647, default: 0]
- I:pauseInterval=0
- # Enables persistent backups which are done once per day and are excluded from automatic consolidation if enabled. [default: true]
- B:persistentBackups=true
- # Same as backupPath but for persistent backups. [default: ../backups/persistent]
- S:persistentPath=../backups/persistent
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement