Skip to content

ublubu/shbackup

Repository files navigation

Shbackup - Minecraft Backup-Script Mod

This mod runs a user-defined bash command on an interval, so you can rdiff-backup your world.

Features

  • Runs script on user-defined time interval.
  • Runs script on server shutdown.
  • Only runs script if a player has been online since the previous backup.
  • Messages in chat when backup runs.
    • And an error message when it fails--may pose a security risk if you don't trust your players.
  • Doesn't force the server to flush saves to disk before the backup.
    • Pro: Less lag during backups.
    • Con: Recent changes may not be included until a later backup. (worst case, until server restart)
  • Tiny codebase. 3 classes, ~200 LOC.

Dependencies

https://github.com/shedaniel/cloth-config

License

GPL v3

Use at your own risk.

This mod was inspired by

https://github.com/Szum123321/textile_backup

https://github.com/sefodopo/FabricAutoBackup

About

write you a shell script to back up your minecraft world

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages