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 to backup Minecraft World data.
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 path to log file *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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file minecraft_backup-1.0.1.tar.gz
.
File metadata
- Download URL: minecraft_backup-1.0.1.tar.gz
- Upload date:
- Size: 10.2 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a546b882be53320f61462bb7c0e73858aa1f074e47afe143eaf2383c05fcc461 |
|
MD5 | 0e92da8df2230104965d36a256a7dfc2 |
|
BLAKE2b-256 | a269ec2866fe178530cc86c06baa7fc3e320039eb9ce63de3d1ecca8bf5ad1c2 |
File details
Details for the file minecraft_backup-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: minecraft_backup-1.0.1-py3-none-any.whl
- Upload date:
- Size: 12.4 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8dc991f46831d5426dd7d7f3de8151bf03434d6815a58b2453372aba86c33b7 |
|
MD5 | 40d64e4befb886c663972d5e8a514ab6 |
|
BLAKE2b-256 | dfa71dd3b7dba7398d683e673e914b0d6da6184c9f01649d522e6c674590a5c7 |