Lafcadia / MCServerBackup

A Backup Script for Server-side Plugins of Minecraft Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MCServerBackup

Utility

It can be used to collect changed files in a directory during a period by scanning the changed files and copying them into a zip file in "./backup".

Currently, it is used in Minecraft Servers for sensing the changing chunk files in Minecraft worlds.

Usage

python main.py [directory] [period] [type]
  • [directory] should be a relative or absolute path for the directory you want to backup for.
  • [period] should be an integer, which is the time between each snapshot in seconds.
  • [type] should be chosen from zip or tar

Example

python main.py ./test 20 tar

About

A Backup Script for Server-side Plugins of Minecraft Server

License:MIT License


Languages

Language:Python 100.0%