تخطَّ إلى المحتوى

backup

هذا المحتوى غير متوفر بلغتك بعد.

Automated PostgreSQL backups with scheduling and optional cloud upload. Free: MIT licensed.

Terminal window
nself plugin install backup

Runs scheduled pg_dump backups of your Postgres database with configurable retention policies. Supports uploading backups to S3-compatible storage (MinIO or any S3 provider). Free tier handles standard scheduling. See plugin-backup-pro for encryption and point-in-time recovery.

Env VarDefaultDescription
BACKUP_PORT3050Backup service port
BACKUP_SCHEDULE0 2 * * *Cron schedule (default: 2am daily)
BACKUP_RETENTION_DAYS7Days to keep backups
BACKUP_S3_BUCKETnoneS3/MinIO bucket name (optional)
BACKUP_S3_ENDPOINTnoneS3 endpoint URL (optional)
PortPurpose
3050Backup service REST API

2 tables added to your Postgres database:

  • np_backup_jobs: backup job history and status
  • np_backup_schedules: configured backup schedules

None, backup service is internal only.

GET /health: Health check
GET /backups: List backup history
POST /backups/trigger: Trigger immediate backup
POST /backups/restore: Restore from backup