3 ms·
Dumb solution: make soft deletes explicit in your backup system. Your company has a database backup system right? That system should be configured so that when
by armchairhacker 4y ago
Dumb solution: make soft deletes explicit in your backup system.
Your company has a database backup system right? That system should be configured so that when it runs a backup, it will not remove deleted entries from the previous backup, instead just mark them as "deleted_since" the current backup time.
Idk if any backup system actually support this, if there's some glaring problem (like you can't just overwrite parts of a database backup for some reason), or if most companies just don't have backups because they're too expensive (probably not), but this is the solution I would go with. It works for other sorts of data like file systems as well.