minecraft-backup | Backup script for Minecraft servers | Continuous Backup library
kandi X-RAY | minecraft-backup Summary
kandi X-RAY | minecraft-backup Summary
Backup script for Minecraft servers on Linux. Supports servers running in screen, tmux, or with RCON enabled. Supports tar file or restic backup backends.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of minecraft-backup
minecraft-backup Key Features
minecraft-backup Examples and Code Snippets
Community Discussions
Trending Discussions on minecraft-backup
QUESTION
so I'm trying to add automatic backups to my minecraft server and I'm using a bash script that auto saves the world and puts it in cloud storage. Whenever I run the script, I get this error:
raise error, v # invalid expression sre_constants.error: bad character range
I have installed Python 3 after hearing that it is a Python 2.7 problem and the script runs 2.7 anyways with the same error.
Python versions: 2.7.13 (used) and 3.5.3. Debian Linux
The bash script:
...ANSWER
Answered 2019-Dec-23 at 08:25This error raise error, v # invalid expression
is triggered by gsutil. This is triggered because you are not following the object naming rules
This part is invalid $(date "+%Y%m%d-%H%M%S")
because you are using wildcards characters which are being taken literally by gsutil and you are also leaving a space in the name which isn't accepted.
I suggest you get the date and time in another step of your batch and then add it directly as a String to the gsutil command.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install minecraft-backup
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page