1
0

More documentation for mc-backup cron script

This commit is contained in:
Noah 2016-03-23 10:51:57 -07:00
parent 832001e1ef
commit 4333055a2d

View File

@ -9,7 +9,15 @@ The `minecraft-control` password is obtained from the settings.ini for
minecraft-control. Backups are placed in the `backups/` directory under the minecraft-control. Backups are placed in the `backups/` directory under the
Minecraft server root, named with datetime stamps. Minecraft server root, named with datetime stamps.
See `mc-backup.py --help` for command usage.""" See `mc-backup.py --help` for command usage.
minecraft-control is available at: https://github.com/kirsle/minecraft-control
Example setting this up in cron:
0 2 * * * ~/cron/mc-backup.py -c ~/mc-control/settings.ini -s ~/mc-server
--Kirsle
https://www.kirsle.net/"""
import argparse import argparse
from configparser import RawConfigParser from configparser import RawConfigParser