Hi everyone,
I’m running Passbolt CE 5.11.0 and have set up automated database backups every 24 hours and I save up to 30 days before deleting older backups. While reviewing the backup content, I noticed that it still contains a lot of what seems to be redundant data, for example:
-
Secrets that are marked to be deleted
-
Old/deleted users
Is this expected behavior? I assumed that once a secret is deleted (or pending deletion) or a user is removed from Passbolt, the corresponding database entries would be purged, maybe at a later time.
My concern is that over time, the backup size will keep growing with “dead” data that never gets cleaned up, making storing backups less practical over long periods .
A few questions for the community:
-
Is there a built-in mechanism in CE 5.11.0 to purge old/deleted records from the DB?
-
Would it be safe to manually prune certain tables (e.g.,
secrets,users) from the backup before storing it, or does that risk breaking referential integrity on restore?
Thanks in advance for any insights!


