Marketplace App Backups: User Uploads, Database Dumps, Object Storage, and Expiry
Short answer: build each nightly backup as a closed recovery set containing a database dump, the referenced user uploads, and a signed manifest; authorize restoration of that set as one operation, but keep document delivery credentials outside the backup path. A marketplace can then prove that a signed document is recoverable until its deletion deadline without giving the normal application broad…
Marketplace App backups consist of database dumps, user uploads, and signed manifests. The backups are organized in a private namespace by an opaque backup_id and artifact class. Restoration requires a signed document and is audited. Database rows and object copies are separate entities. Access control vs. delivery simplicity is the primary tension.
A restore-only credential narrows that authority. The backup job needs a documented snapshot mechanism and an application-level rule for in-flight uploads. The layout consists of sets/{backup_id}/database/, sets/{backup_id}/uploads/, and sets/{backup_id}/control/. The restoration checklist includes verifying digests, loading the dump, resolving referenced documents, and reconciling deadlines.
Deletion reconciliation must consult current policy and legal-hold states. Backups do not suspend data obligations.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to