pcal43 / fastback

Fast, incremental Minecraft world backups. Powered by Git.
https://pcal43.github.io/fastback/
GNU General Public License v2.0
133 stars 20 forks source link

`/backup local` is a no-op in 0.17.1 #312

Closed jasperweiss closed 10 months ago

jasperweiss commented 10 months ago

The mod says 'native git is installed'

image

/backup init works fine, but /backup local doesn't do anything besides putting 'Backing up...' in the chat. /backup list does not output anything.

Here's the console log

[23:37:21] [Server thread/INFO]: [DEBUG] world saves are enabled, doing requested saveAll
[23:37:21] [Server thread/INFO]: [DEBUG] world saves are enabled, doing requested save
[23:37:21] [Server thread/INFO]: Saving chunks for level 'ServerLevel[Computer]'/minecraft:overworld
[23:37:21] [Render thread/INFO]: [System] [CHAT] Saving world before backup...
[23:37:21] [Server thread/INFO]: Saving chunks for level 'ServerLevel[Computer]'/minecraft:the_nether
[23:37:21] [Server thread/INFO]: Saving chunks for level 'ServerLevel[Computer]'/minecraft:the_end
[23:37:21] [Server thread/INFO]: ThreadedAnvilChunkStorage (Computer): All chunks are saved
[23:37:21] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[23:37:21] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[23:37:21] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[23:37:21] [Server thread/INFO]: [DEBUG] executing net.pcal.fastback.commands.Commands$$Lambda$13287/0x00000258a766c460@1be0341f
[23:37:21] [Render thread/INFO]: [System] [CHAT] Backing up...
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] Executing git --version
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] PATH: null
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] USER: null
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] HOME: null
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] [STDOUT] git version 2.43.0.windows.1
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] Executing git-lfs --version
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] PATH: null
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] USER: null
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] HOME: null
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] [STDOUT] git-lfs/3.4.0 (GitHub; windows amd64; go 1.20.6; git d06d6e9e)
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] Executing git --version
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] PATH: null
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] USER: null
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] HOME: null
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] [STDOUT] git version 2.43.0.windows.1
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] Executing git-lfs --version
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] PATH: null
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] USER: null
[23:37:21] [pool-48-thread-38/INFO]: [DEBUG] HOME: null
[23:37:22] [pool-48-thread-38/INFO]: [DEBUG] [STDOUT] git-lfs/3.4.0 (GitHub; windows amd64; go 1.20.6; git d06d6e9e)
pcal43 commented 10 months ago

Not sure what to say here. I feel like there must be something more interesting lower down in the log.

jasperweiss commented 10 months ago

See the full log after a fresh start of the game here I started a backup immediately after opening the world with /backup local, waited for a bit and then ran /backup list a couple of times (which does not produce any output).

pcal43 commented 10 months ago

Yeah, I really can't say what's going on there. Maybe check debug.log.

tgf-0 commented 10 months ago

Same issue here, no output for /backup list after /backup init and /backup local. Git for windows and git-lfs installed, both available in PATH. No info in debug.log

I noticed after a git status of the save folder all of the files are marked as untracked, there is a default main branch with no commits.


No commits yet

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        .fastback/
        DIM-1/
        DIM1/
        advancements/
        data/
        entities/
        icon.png
        level.dat
        level.dat_old
        playerdata/
        poi/
        region/
        session.lock
        stats/

nothing added to commit but untracked files present (use "git add" to track)