Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Server Utilities) Restoration of only saved chunks from backup #18872

Open
5 tasks done
okolenmi opened this issue Jan 25, 2025 · 3 comments
Open
5 tasks done

(Server Utilities) Restoration of only saved chunks from backup #18872

okolenmi opened this issue Jan 25, 2025 · 3 comments

Comments

@okolenmi
Copy link

Your GTNH Discord Username

No response

Your Pack Version

2.7.2

Your Proposal

I have a serious issue after using backup with only_backup_claimed_chunks flag enabled - I can't restore chunks only, I can restore regions only. All unclaimed chunks in region that contains at least one claimed chunk, will be regenerated. Restoration of backup from game menu have the same result as you will remove the whole world and then restored it from this 9MB archive backup...
There are two ways of how to solve it:

  1. Add only_backup_claimed_REGIONS function - it will write whole regions where at least one claimed chunk exist, instead of just chunks
  2. Add a way to restore saved chunks only (it will rewrite chunks of existing world)

Your Goal

Better backups

Your Vision

The whole idea of saving only claimed chunks isn't implemented in a proper way as there is no way to restore them easily. Maybe it's possible with some external software, but... what a reason of it, then?

Final Checklist

  • I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying I like this feature please reconsider adding it will prompt us to investigate and reopen it once we confirm your report.
  • I believe there is nothing similar in the pack already, or the existing solution isn't good enough.
  • I understand this change request may not attract enough attention and thus not be implemented.
  • I understand this change request may be rejected due to other community members thinking it's inappropriate.
  • I believe this feature would make the pack better.
@okolenmi okolenmi added Status: Triage Issue awaiting triage. Remove once this issue is processed Suggestion labels Jan 25, 2025
@okolenmi
Copy link
Author

This issue contains a different proposal to add possibility to "restore only some selected chunks", which is different and more complicated than my proposal. The main difference is that you need a whole new interface instead of just "Restore only saved chunks" checkbox and some processing code.

@3jlowes
Copy link

3jlowes commented Jan 29, 2025

Seconding this, It sounds logical and nice quality-of-life.
I could imagine a scenario where a player is claiming chunks around their base, and upon loading the region backups the chunks right next to their base get regenerated.

Add only_backup_claimed_REGIONS function - it will write whole regions where at least one claimed chunk exist, instead of just chunks

Having this option would be great, at the cost of slightly larger backups

@chochem
Copy link
Member

chochem commented Feb 9, 2025

that would make sense probably yea. I goes without saying that you should only use this config if you are short on storage space anyway.

@chochem chochem added Mod: Server Utilities and removed Status: Triage Issue awaiting triage. Remove once this issue is processed labels Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants