
MCS3-Backup
Back up your world data with cron(UNIX) format config and uplaod them to AWS S3(optional).
41
0
MCS3-Backup
A Spigot plugin that can back up Minecraft server worlds and upload them to S3.
Features
- Create backups of worlds (schedules configurable using cron format)
- Automatic deletion of old backups (number of backups to keep configurable in config.yml)
- Upload backups to S3 (authentication and enable/disable configurable)
Installation
- Download the latest .jar file from Releases
- and place it in the
pluginsfolder. - Restart the server.
- Edit
plugins/MCS3-Backup/config.ymland configure the settings as needed.
Configuration
backup-time: "0 0 * * *" # Schedule backups using cron format
backup-worlds: # List of directories to back up (relative to the root directory)
- world
- world_nether
- world_the_end
backup-keep-count: 1 # Number of backups to keep
S3: # See S3 setup instructions below
enabled: false # Enable or disable uploading to S3
bucket: "your-bucket-name"
region: "ap-northeast-1"
storage-class: "STANDARD"
upload-prefix: "backups/" # Slash at the end is optional
access-key: "your-access-key"
secret-access-key: "your-secret-access-key"
S3 Setup
- Create an IAM user with
s3:PutObjectpermissions and obtain the Access Key and Secret Access Key. - Create a S3 bucket and note the bucket name and region.
- Edit the S3 section in
config.ymland enter the obtained credentials. - Optionally, configure the
storage-classandupload-prefix. - Restart the server.
Commands and Permissions ( /mcs3 )
All /mcs3 commands can be executed with the MCS3Backup.commands.mcs3 permission.
- reload : Reloads all configuration items from
config.yml. - help : Displays a list of available commands.
- next : Shows the scheduled time for the next backup.
Planned Features
- Manual backup via command
- List and delete backups
- Generate download links for backups
- Automatic deletion of backups in the S3 bucket
Reload configuration via command
License
MCS3-Backup is released under the MIT License.
Создатели
Детали
Лицензия:MIT
Опубликован:5 месяцев назад
Обновлён:4 месяца назад
