My new idea is about backup functions in Luanti. This contain:
1. World backup - are more variants (only copying to backup folder, saves to zip, 7z, tar.gz or similar)
2. After point before - add some features for incremental backups of world
Incremental world backup
- MatyasP
- Member
- Posts: 75
- Joined: Wed Jan 19, 2022 22:12
- GitHub: Matyas-Pilz
- In-game: MatyasP
- Location: Prague, Czech republic
- Contact:
Re: Incremental world backup
+100 .. many players and server owners have been wanting this feature for some time, as well as a way to compress the map to remove unused areas during backup.
- Blockhead
- Moderator
- Posts: 2562
- Joined: Wed Jul 17, 2019 10:14
- GitHub: Montandalar
- IRC: Blockhead256
- In-game: Blockhead Blockhead256
- Location: Land Down Under
- Contact:
Re: Incremental world backup
It's possible to incrementally backup most of the world data if you use PostgresSQL and configure it for that. What's not possible is guaranteeing a consistent state between that and all of the random files that mods will put in your world directory if you were to snapshot that with a basic file copy.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂
- Linuxdirk
- Member
- Posts: 3301
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: Incremental world backup
Wouldn’t the new database format make incremental backups easier, now that the world coordinates are part of the database table, instead of just a blob?
Like, only check new or changed coordinates compared to the previous backup and then storing the diff? (Needs some fiddling with SQL, though.)
Like, only check new or changed coordinates compared to the previous backup and then storing the diff? (Needs some fiddling with SQL, though.)
Re: Incremental world backup
Sounds good, but who and when does it implement? Much more simple solution to make your map smaller: remove unprotected areas with basic sqlite tools:

- MatyasP
- Member
- Posts: 75
- Joined: Wed Jan 19, 2022 22:12
- GitHub: Matyas-Pilz
- In-game: MatyasP
- Location: Prague, Czech republic
- Contact:
Re: Incremental world backup
I have server for friends from real life - small community of public transport fans. Our server is for building railways (and cities near railways etc.). We need much of backups because our old world ended for "database disk is malformed" and because save the history of game world for remembrance.
Re: Incremental world backup
You can make backups of protected areas only. In my case I can save a map with size 600kb instead of 900mb. Very useful when need to keep 5-10 backups of the game world.
This only works well with protection mod: "areas". With "protection redo" (nodes version) mod it sucks.
I bet that this particular map saving feature will be added to the minetest engine instead of incremental version.

Who is online
Users browsing this forum: No registered users and 2 guests