https://metaplay.io logo
How many days are database backups kept?
# questions-and-feedback
j
We need the number for our privacy policy. Also, If you ever restore a backup, how do we get the list of players deleted since then, so we can delete them again?
t
Heya! For production environments, we currently by default take and retain 7 dailies, 4 weeklies, and 12 monthlies. Any of those snapshot points can be recovered and the remaining snapshots will roll out after a year or when the environment is deleted, at which point all snapshots are deleted. As for player re-deletion, https://docs.metaplay.io/operating-a-live-game/customer-support/working-with-player-deletion describes this and the GDPR angle. Did you need details on the specific mechanism for re-deletion?
j
Thanks, that's exactly what we needed! On re-deletion: we found the redeletePlayers tool in the dashboard. Just to confirm: if you ever restore one of our production snapshots, will you provide the PlayerDeletionRecords export (parquet) from right before the restore as part of that process, or is that something we need to request each time?
t
With managed environments this is something that we on our side will need to do (with self-hosted private cloud setups the owner of the infrastructure can do). The process of getting the PlayerDeletionRecords export is basically to take an export of the latest available backups/snapshots and then extract specifically that table and reload it into the server after the database rollback. So before doing the actual rollback and recreating the database, final snapshots are taken and those would be used for re-seeding this data. Overall the database rollback to snapshots is a rather intrusive operation (basically a full database recreate operation), so this would be part of that type of fairly manual operation.