keuin / kbackup-fabric Goto Github PK
View Code? Open in Web Editor NEWA server-only backup mod for fabric Minecraft server, which supports both full backup and incremental backup.
License: GNU General Public License v3.0
A server-only backup mod for fabric Minecraft server, which supports both full backup and incremental backup.
License: GNU General Public License v3.0
I am currently hosting a 1.17.1 fabric server and seeking for incremental backup mods. After reading your introduction I think I find the perfect one. Much appreciation if you can compile an 1.17.1 version or provide compiling instructions.
Please update this mod to allow scheduling backups to happen on specified intervals, and add an option to skip backups where no players have been online since the last backup. Thank you!
Sorry to make this request if its too much time or trouble. I would have made it on the page for your RconJobs project but you've archived it. I also noticed you removed it as your solution for scheduled backups from the readme for this project :(
As it is now, if the server is stopped or does not respond to RconJobs, RconJobs returns a ConnectionRefusedError, and then stops polling its jobs, but does not go back to the command prompt.
error: https://pastebin.com/bggj7WNq
I was wondering if you could either make RconJobs continue polling after receiving this error, or maybe force it to quit to the command prompt so that a looping batchfile/script could simply start it up again once it quits to the command prompt.
Thanks, and good luck with your new backup project that you mentioned! KBackup works well and is extremely useful for me, I look forward to your future releases and projects :)
我在源文件中發現AutoBackupDispatcher.java
I've been running this on my server for a while now and it works really well, but today when I ran a backup the backup failed because the server didn't have enough disk space (it's a small server with like 50GB of storage).
This in itself is fine - it's easy enough to make more space, but the operation threw an exception and led to a loss of my player advancements data.
Here is the relevant portion of the log:
...
[18:07:05] [Server thread/INFO]: [KBackup] Start backup...
[18:07:05] [Server thread/INFO]: Making backup, please wait ...
[18:07:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (ConglomerateWorld3): All chunks are saved
[18:07:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[18:07:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[18:07:07] [BackupWorker/INFO]: [KBackup] zip(srcPath=/srv/multi-host/minecraft/fabric/1.16.5/ConglomerateWorld3, destPath=/srv/multi-host/minecraft/fabric/1.16.5/backups)
[18:07:07] [BackupWorker/INFO]: [KBackup] Compressing level ...
[18:08:37] [BackupWorker/INFO]: [STDERR]: java.io.IOException: No space left on device
[18:08:37] [BackupWorker/INFO]: [STDERR]: at java.base/java.io.FileOutputStream.writeBytes(Native Method)
[18:08:37] [BackupWorker/INFO]: [STDERR]: at java.base/java.io.FileOutputStream.write(FileOutputStream.java:354)
[18:08:37] [BackupWorker/INFO]: [STDERR]: at java.base/java.util.zip.CheckedOutputStream.write(CheckedOutputStream.java:74)
[18:08:37] [BackupWorker/INFO]: [STDERR]: at java.base/java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
[18:08:37] [BackupWorker/INFO]: [STDERR]: at java.base/java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:256)
[18:08:37] [BackupWorker/INFO]: [STDERR]: at java.base/java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:361)
[18:08:37] [BackupWorker/INFO]: [STDERR]: at java.base/java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:238)
[18:08:37] [BackupWorker/INFO]: [STDERR]: at java.base/java.util.zip.ZipOutputStream.close(ZipOutputStream.java:378)
[18:08:37] [BackupWorker/INFO]: [STDERR]: at com.keuin.kbackupfabric.util.ZipUtil.makeBackupZip(ZipUtil.java:151)
[18:08:37] [BackupWorker/INFO]: [STDERR]: at com.keuin.kbackupfabric.util.ZipUtil.makeBackupZip(ZipUtil.java:160)
[18:08:37] [BackupWorker/INFO]: [STDERR]: at com.keuin.kbackupfabric.operation.backup.method.ConfiguredPrimitiveBackupMethod.backup(ConfiguredPrimitiveBackupMethod.java:49)
[18:08:37] [BackupWorker/INFO]: [STDERR]: at com.keuin.kbackupfabric.operation.backup.method.ConfiguredPrimitiveBackupMethod.backup(ConfiguredPrimitiveBackupMethod.java:19)
[18:08:37] [BackupWorker/INFO]: [STDERR]: at com.keuin.kbackupfabric.operation.BackupOperation.async(BackupOperation.java:47)
[18:08:37] [BackupWorker/INFO]: [STDERR]: at com.keuin.kbackupfabric.operation.abstracts.InvokableAsyncBlockingOperation$1.async(InvokableAsyncBlockingOperation.java:15)
[18:08:37] [BackupWorker/INFO]: [STDERR]: at com.keuin.kbackupfabric.operation.abstracts.InvokableAsyncOperation$1.async(InvokableAsyncOperation.java:11)
[18:08:37] [BackupWorker/INFO]: [STDERR]: at java.base/java.lang.Thread.run(Thread.java:829)
[18:09:08] [Server thread/WARN]: Failed to save player data for Zedseven
[18:09:08] [Server thread/ERROR]: Couldn't save stats
java.io.IOException: No space left on device
at java.io.FileOutputStream.writeBytes(Native Method) ~[?:?]
at java.io.FileOutputStream.write(FileOutputStream.java:341) ~[?:?]
at org.apache.commons.io.IOUtils.write(IOUtils.java:1857) ~[intermediary-server.jar:?]
at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1982) ~[intermediary-server.jar:?]
at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:2017) ~[intermediary-server.jar:?]
at net.minecraft.class_3442.method_14912(class_3442.java:62) ~[intermediary-server.jar:?]
at net.minecraft.class_3324.method_14577(class_3324.java:353) ~[intermediary-server.jar:?]
at net.minecraft.class_3324.method_14617(class_3324.java:694) ~[intermediary-server.jar:?]
at n
Luckily I should be able to recover that data due to my previous backups, but it would be nice if KB handled the issue more gracefully and avoided player data corruption.
Thank you for the great mod!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.