Giter Club home page Giter Club logo

kbackup-fabric's People

Contributors

13rac1 avatar asiekierka avatar flier268 avatar i509vcb avatar keuin avatar modmuss50 avatar nikkyai avatar pannoniae avatar prospector avatar selebrator avatar shnupbups avatar technici4n avatar upcraftlp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

kbackup-fabric's Issues

[REQUEST] KBackup for Minecraft 1.17.1 version

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.

More Gracefully Handle Insufficient Disk Space

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!

[REQUEST] Update RconJobs to continue polling after returning ConnectionRefusedError:

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 :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.