mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-06 20:34:57 +02:00
Add database backup script
Add scripts/backup-db.sh for backing up the embedded PostgreSQL database with support for custom (.dump) and plain SQL formats, auto-detection of the configured port, and pruning of backups older than 30 days. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
6adc453068
commit
61db74d525
2 files changed
+86
No files matched your search
@@ -13,6 +13,7 @@
|
||||
"test:run": "vitest run",
|
||||
"db:generate": "pnpm --filter @paperclip/db generate",
|
||||
"db:migrate": "pnpm --filter @paperclip/db migrate",
|
||||
"db:backup": "./scripts/backup-db.sh",
|
||||
"paperclip": "node cli/node_modules/tsx/dist/cli.mjs cli/src/index.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in new issue
Block a user