Refactor backup system and migrate from submodule to shadow dependencies

- Remove s3-lite submodule and replace with AWS SDK and shadow plugin
- Implement comprehensive backup commands with list, delete, create, restore, and suspend functionality
- Add bundle format with compression support using Zstd and gunzip optimization
- Implement local and S3 backup strategies with configurable options
- Add backup tracking system with JSON persistence
- Improve world directory handling and file exclusion logic
- Add standalone bundler tool for bundle creation/extraction
- Update Gradle configuration with shadow jar support and dependency management
- Enhance configuration system with additional options for compression and temporary directories
This commit is contained in:
iceBear67 committed 2025-09-22 17:20:48 +08:00
1 parent 6a2642ab93
commit fb42be8155
21 files changed
+746 -183

No files matched your search

@@ -20,10 +20,6 @@ public class EntryOutputStream extends FilterOutputStream {
super(out);
}
public void writeMagic() throws IOException {
out.write(BundlerEntry.MAGIC);
}
public void write(BundlerEntry entry) throws IOException {
var fileName = entry.fileName().getBytes(StandardCharsets.UTF_8);
var buf = ByteBuffer.allocate(4).putInt(entry.unGzipped() ? fileName.length * -1 : fileName.length);