Skip to main content

This is a backup management library for Minecraft servers. It should be run and used on a regular basis using cron or similar.

Project description

Minecraft Backup

minecraft-backup is package for Minecraft Servers Backup.

To use this package, you need to run it in Therminal.

If you want it to run periodically, you will need to use software such as cron.

How to install

$ pip install miencraft_backup

How to use

$ minecraft-backup [-h] {backup,clear,config} ...

Commands

Description of all Commands.

Backup

This command is to backup the folder.

$ minecraft-backup backup [-h] [--no-log] [-z | -t | -tz] minecraft_folder backup_folder

Positional

Name Description
minecraft_folder Write the Minecraft folder path.
backup_folder Write the folder path should you want to save backup.

Options

Normal Short Description
--help -h show help message.
--no-log None Mode to don't save the backup log.
-zip -z Mode to save and compress to zip.
-tar -t Mode to save and compress to tgz/tar.gz
-tar-zip -tz Mode to save and compress to zip and tgz/tar.gz

Clear

This command is to delete all logs of backup history.

$ minecraft-backup clear [-h]

Positional

None

Options

Normal Short Description
--help -h show help message.

Config

This command is to change the config of package.

usage: minecraft-backup config [-h] [-lg LOGS_PATH] [-dt DELETE_TARGET] [-ad] [--no-log]

Positional

None

Options

Normal Short Description Default Positional arguments
--help -h show help message. None None
--logs-path -lg You can change the path of logs. minecraft_backup.path/data/user_config.json new log file path *1
--delete-target -dt Backup file expiration date 7d expiration date *2
--auto-delete -ad You can turn on/off auto delete ON NONE
--no-log None Mode to don't save the config log None None

Warning!

*1 When you use this command you will be lost your log data. I recommend saving the files if you need to do it before doing it.

*2 You can setting in 0y7d00h00m00s (Or You can just setting to 7d)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minecraft_backup-1.0.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

minecraft_backup-1.0.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file minecraft_backup-1.0.0.tar.gz.

File metadata

  • Download URL: minecraft_backup-1.0.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.2 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.5

File hashes

Hashes for minecraft_backup-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c53382316f354d2b0b6dd3475bead93c642ad819f923aea4f308970db457446c
MD5 74f06f6d8bc16ac1f1452e9857460995
BLAKE2b-256 6db3df76f1dca80bc7476c32dbfe6e3a51f7968e35adeda965c0e26e9850830c

See more details on using hashes here.

File details

Details for the file minecraft_backup-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: minecraft_backup-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.2 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.5

File hashes

Hashes for minecraft_backup-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8e9f6f66ab2c418bdcb7f6a21963000c1e4bb0032f7cf72c0874855cc239663
MD5 9728e957426446a21b8d6b03c29147c2
BLAKE2b-256 d7e7b5e493a34df7310969859f02b054c9653b228af500b3ec5f2b14c414bb53

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page