DB Backup and Restore

Exports and restores selected collections as a portable JSON backup

Community 3 86/wk MIT v0.1.2

Installation

pnpm add @yairl/payload-db-backup-restore

About

DB Backup and Restore lets admins export chosen Payload collections to a single JSON file and load that file back later. It adds a backup page to the admin panel with a checkbox for each collection, so you can pick what to include instead of dumping the whole database.

Documents keep their original IDs and dates on the round trip, and draft versions travel with their parent collection. A restore can clear the target collection first or add to what is already there. It works only with projects on the MongoDB adapter, and uploaded files on disk are not part of the backup; only the media records are.

Package info

Package name
@yairl/payload-db-backup-restore
Latest version
0.1.2
Unpacked size
62 kB
License
MIT
Weekly downloads
86
Last publish
Jul 17, 2026

More from ylahav

View profile

Serves a JSON description of your Payload site for clients and code generators

Admin page that finds duplicate, broken and one-sided records, with opt-in repairs

Similar plugins

More in Migration

Adds CSV and JSON import and export to selected collections with background jobs

Stores DNA reference panels and reviewed sample results in Payload collections

Studbook numbers, kinship and inbreeding analysis for managed animal populations

Taxonomy snapshots, imports and a read API for classifications and trees

Fills a Payload test database with realistic, removable sample records

Switch the admin panel between production and development databases, and copy production down