@trieb.work/payload-plugin-backup-mongodb 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -3
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
> Experimental. Originated in the [Payblocks](https://
|
|
1
|
+
> Experimental. Originated in the [Payblocks](https://www.shadcnblocks.com/payload-cms) template, now maintained as a standalone package. Running in production at 20+ projects from TRWK agency. Feedback and PRs welcome.
|
|
2
2
|
|
|
3
3
|
# @trieb.work/payload-plugin-backup-mongodb
|
|
4
4
|
|
|
5
|
+
[](https://www.npmjs.com/package/@trieb.work/payload-plugin-backup-mongodb)
|
|
6
|
+
|
|
5
7
|
A **Payload CMS v3** plugin for **MongoDB only** — not Postgres, SQLite, or other database adapters. It handles Mongo + media backup, restore, and scheduled retention with zero meta-database and a built-in admin UI. Backups live directly in Vercel Blob Storage, so a fresh install can list and restore any prior backup without bootstrapping a database first.
|
|
6
8
|
|
|
7
9
|

|
|
8
10
|
|
|
9
11
|
A first-class **Backups** section lives right below the Payload dashboard: browse every archive
|
|
10
12
|
sorted by creation time, see at a glance which host and database it belongs to, whether media is
|
|
11
|
-
bundled and how big it is, then download, restore or delete any backup with one click.
|
|
13
|
+
bundled and how big it is, then download, restore or delete any backup with one click. Read more on how it originated at [TRWK> Case Study](https://trwk.de/case-studies/payload-plugin-mongodb-backup-restore).
|
|
12
14
|
|
|
13
15
|
---
|
|
14
16
|
|
|
@@ -299,7 +301,7 @@ The repo includes a `dev/` Payload + Next app (MongoDB Memory Server when no URI
|
|
|
299
301
|
|
|
300
302
|
## Publishing (npm)
|
|
301
303
|
|
|
302
|
-
Versioning uses [Changesets](https://github.com/changesets/changesets)
|
|
304
|
+
Versioning uses [Changesets](https://github.com/changesets/changesets): add a file with `pnpm changeset`, open a PR to `main`, and merge. The **Release** workflow opens a “version packages” PR or runs `pnpm run release` (`build` + `changeset publish`) when the set of changesets is ready. PRs need a new `.changeset/*.md` unless you add the **`no-changeset`** label (e.g. docs-only).
|
|
303
305
|
|
|
304
306
|
---
|
|
305
307
|
|
|
@@ -317,3 +319,7 @@ Versioning uses [Changesets](https://github.com/changesets/changesets), like [Pa
|
|
|
317
319
|
## License
|
|
318
320
|
|
|
319
321
|
MIT
|
|
322
|
+
|
|
323
|
+
---
|
|
324
|
+
|
|
325
|
+
Built and maintained by [TRWK>](https://trwk.de), formerly [trieb.work](https://trieb.work).
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trieb.work/payload-plugin-backup-mongodb",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Payload CMS plugin for MongoDB backup and recovery via Vercel Blob Storage",
|
|
5
|
+
"homepage": "https://trwk.de/case-studies/payload-plugin-mongodb-backup-restore",
|
|
5
6
|
"repository": {
|
|
6
7
|
"type": "git",
|
|
7
8
|
"url": "https://github.com/trieb-work/payload-plugin-backup-mongodb.git"
|