pcal43 / fastback

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

Ability to run a partial restore #211

Open object-Object opened 1 year ago

object-Object commented 1 year ago

Fastback allows running frequent backups, so I often find myself using it to restore player data. By default, and especially on a dedicated Minecraft server host where there's no CLI access, the only way to do this is to restore an entire backup. You can do this with git commands by checking out a particular file instead of an entire branch, but it would be convenient if it were possible through ingame commands.

pcal43 commented 1 year ago

Not sure what you mean by 'partial' here. Like, restoring specific region files?

I'd be pretty reluctant to get into that - at some point, I'd just rewriting the git cli in minecraft (which I'm not going to do).

object-Object commented 1 year ago

Generally it's been specific playerdata files rather than region files, but yeah, same idea. This is only really an issue on dedicated Minecraft hosts, where the only (scuffed) way to get access to the Git CLI is to shut down the server and change the startup command to instead run bash. On a self-hosted server or a host that provides command line access, this would of course be easily doable with Git.