SF
Staff PanelStaff Panel

Database Management

PostgreSQL 18+ Active

Export full PostgreSQL dumps, create portable ORM snapshots, and safely import backups

DB Engine
PostgreSQL
Status: Disconnected
Snapshots
0
Disk: 0 B
Latest Backup
None
No snapshots
Catalog & Orders
0
0 items · 0 orders

Stored Database Snapshots0

Full dumps and portable snapshots ready to download, inspect, or restore.

Loading database snapshots...

Import & Restore Database Snapshot

CLI & Automation

Terminal commands & Cron jobs

1. Take a Backup via Terminal:
npm run db:backup
2. Non-Destructive Schema Sync:
npm run db:sync
3. Explicit Schema Merge (Force):
npm run db:merge -- --force
💡 Dual Automated Cron Protection

1. Built-in: StoreForge automatically takes a daily background snapshot every 24h as long as the server is running.

2. VPS Crontab: Add this to your Linux crontab -e for an independent system cron:0 3 * * * cd /path/to/project && npm run db:backup >> logs/backup.log 2>&1

Storage: backups/Security: AES-256