pcal43 / fastback

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

Wiki Suggestion #311

Open ArcherWarrior1 opened 8 months ago

ArcherWarrior1 commented 8 months ago

Adding basic instructions to the wiki on how to directly use git to retrieve backup files may be beneficial as it gives a lot more utility to users who are not very familiar with git.

If the world files become corrupted and the server will not launch: git archive -o world.zip 5b8ccfff066793e72e4262496a5a7958be5b7c88 world

For whatever reason someone wants just their playerdata restored: git archive -o player.zip 5b8ccfff066793e72e4262496a5a7958be5b7c88 world\playerdata

You want to launch a server exactly how it was the other day for whatever reason, regardless of config, mod, or world changes: git archive -o snapshot.zip 5b8ccfff066793e72e4262496a5a7958be5b7c88

Want to see a list of all backups even if the server is not running: git log --all

Get a list of all backups since a few days ago: git log --all --since=2023-27-12

Get a list of all backups since a few days ago until last night: git log --all --since=2023-23-12 --until=2023-29-12-23:00:00

Mister-Curious commented 1 month ago

Thanks for this. I can't even find any information on where to get git in any of this repository. I found git-lfs fine, but since I cant find the dependency it requires (git), then the mod is not working. Do you know where I can find this dependency?