#2 Add a task for daily backups
Opened 2 years ago by bookwar. Modified 2 years ago

Implement Ansible task to create a cron job which would backup the world data.
For now we can store the backup files on the server itself.

The backup should NOT include user password information.

We need to test the recovery from a backup as well.


Additional comments from the fellow readers:

1. don't try backup map.sqlite when server running (or backup it with map.sqlite-wal, but no recommended)
2. Perfomance (for big worlds): migrate to postgresql (better way) or use pragma sqlite synchronous=OFF
3. Remember map.sqlite-wal may have too large size (up to 0.5-30GB [depends on game activity and world size])
4. map.sqlite can be compressed with xz for x2-10 reduce size (50 MB -> 4 MB)
5. recommend read this: https://forum.minetest.net/viewtopic.php?f=10&t=1825

Log in to comment on this ticket.

Metadata