Sueta

SimpleBackup

1.1

Easy Backup & Restore

·Plugin

SimpleBackup
SimpleBackup is a backup & restore Plugin. It allows to backup worlds and configurations. As well, it includes a restore script to restore made backups. An integrated interval function is saving worlds and is automatically creating backups of wished configurations and worlds. All messages, errors and settings can be changed and customized.

Features

  • Interval Backups (worlds, configurations)
  • Manually Backups (worlds, configurations)
  • Interval World Save (all worlds)
  • Manually Save (all worlds)
  • Restore script available

Requirements

  • Software: Java 8 or higher
  • Spigot: 1.10 or higher
  • For restore script: Python3.x

Commands

  • sbackup backup
  • sbackup info
  • sbackup help
  • sbackup save

Permissions

  • sbackup.*
  • sbackup.backup
  • sbackup.info
  • sbackup.help
  • sbackup.save

Installation

  1. Stop Server
  2. Drag and drop SimpleBackup in “Plugins” folder
  3. Restart Server

Troubleshooting
Make sure your backup folder is writable.

If you want to use restore script, make sure it is executable (Linux)

sudo chmod +x restore.py

By changing the backup location, ensure the complete path is given.

E.g. Linux: /home/user/Desktop/backups
E.g. Windows: C:/users/user/Desktop/backups

By adding a configuration or world as backup target, give the path from server folder to the config file.

E.g. plugins/PermissionsEx/permissions.yml

Configuration

  • backup_enable – enable schedule backup
  • schedule_step – Step size between backups
  • schedule_unit – Step unit possible are (min,hour,day,week)
  • backup_location – path to backups folder
  • worlds_to_save – worlds to backup
  • config_to_save – configurations to save
  • save_enable - enable schedule save
  • save_step – Step site between saves
  • save_unit – Step unit possible are (min,hour,day,week)

Restore
To restore a backup, you will need to run the restore script. It is located in SimpleBackups plugin folder. Open the console in this folder and type:

On Linux python3 restore.py
On Windows py restore.py

Important Notes

Don't start a restore while the server is running!

  1. Stop server
  2. Run restore
  3. Restart server

If you have issues, recommendations or wishes, let me know.
If you like it, please leave a rating.

Similar projects

Plugin →