SF-Sudio / ServerBackup

GNU General Public License v3.0
38 stars 12 forks source link

A full backup is not a full when backing up a single world #21

Open LittleChest opened 1 year ago

LittleChest commented 1 year ago

I don't back up extremely important data such as block entities after I do /backup create world_the_end. config:

# BackupTimer = At what time should a Backup be created? The format is: 'hh-mm' e.g. '12-30'.
# DeleteOldBackups = Deletes old backups automatically after a specific time (in days, standard = 7 days)
# DeleteOldBackups - Type '0' at DeleteOldBackups to disable the deletion of old backups.
# BackupLimiter = Deletes old backups automatically if number of total backups is greater than this number (e.g. if you enter '5' - the oldest backup will be deleted if there are more than 5 backups, so you will always keep the latest 5 backups)
# BackupLimiter - Type '0' to disable this feature. If you don't type '0' the feature 'DeleteOldBackups' will be disabled and this feature ('BackupLimiter') will be enabled.
# KeepUniqueBackups - Type 'true' to disable the deletion of unique backups. The plugin will keep the newest backup of all backed up worlds or folders, no matter how old it is.
# Blacklist - A list of files/directories that will not be backed up.
# IMPORTANT FTP information: Set 'UploadBackup' to 'true' if you want to store your backups on a ftp server (sftp does not work at the moment - if you host your own server (e.g. vps/root server) you need to set up a ftp server on it).
# If you use ftp backups, you can set 'DeleteLocalBackup' to 'true' if you want the plugin to remove the created backup from your server once it has been uploaded to your ftp server.
# CompressBeforeUpload compresses the backup to a zip file before uploading it. Set it to 'false' if you want the files to be uploaded directly to your ftp server.
# Join the discord server if you need help or have a question: https://discord.gg/rNzngsCWFC

AutomaticBackups: true
BackupTimer:
  Days:
  - MONDAY
  - TUESDAY
  - WEDNESDAY
  - THURSDAY
  - FRIDAY
  - SATURDAY
  - SUNDAY
  Times:
  - 03-00
BackupWorlds:
- world
- world_nether
- world_the_end
Blacklist:
- cache
- crash-reports
- libraries
- logs
- versions
- world/session.lock
- world_nether/session.lock
- world_the_end/session.lock
- plugins/CoreProtect/database.db
- plugins/LuckPerms/luckperms-h2-v2.mv.db
DeleteOldBackups: 5
BackupLimiter: 5
KeepUniqueBackups: true
UpdateAvailableMessage: true
AutomaticUpdates: true
BackupDestination: backups
CloudBackup:
  Dropbox: false
  Options:
    Destination: /
    DeleteLocalBackup: false
Ftp:
  UploadBackup: false
  DeleteLocalBackup: false
  Server:
    IP: 127.0.0.1
    Port: 21
    User: username
    Password: password
    BackupDirectory: Backups/
DynamicBackup: true
SendLogMessages: false