Skip to content

plugin backup

github-actions[bot] edited this page Apr 26, 2026 · 2 revisions

Backup Plugin

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

Install

nself plugin install backup

What It Does

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.

Configuration

Env Var Default Description
BACKUP_PORT 3050 Backup service port
BACKUP_SCHEDULE 0 2 * * * Cron schedule (default: 2am daily)
BACKUP_RETENTION_DAYS 7 Days to keep backups
BACKUP_S3_BUCKET S3/MinIO bucket name (optional)
BACKUP_S3_ENDPOINT S3 endpoint URL (optional)

Ports

Port Purpose
3050 Backup service REST API

Database Tables

2 tables added to your Postgres database:

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

Nginx Routes

None, backup service is internal only.

API

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

Home


Getting Started


Commands


Features


Configuration


Plugins (87 + 10 monitoring)

Free (25)
Pro (62)
Planned (26)
  • plugin-audit
  • plugin-blog
  • plugin-checkout
  • plugin-commerce
  • plugin-drm
  • plugin-export
  • plugin-flow
  • plugin-import
  • plugin-ldap
  • plugin-mailgun
  • plugin-media
  • plugin-oauth-providers
  • plugin-pages
  • plugin-postmark
  • plugin-rate-limit
  • plugin-reports
  • plugin-saml
  • plugin-scheduler
  • plugin-sendgrid
  • plugin-sso
  • plugin-subscription
  • plugin-thumb
  • plugin-transcoder
  • plugin-twilio
  • plugin-waf
  • plugin-watermark

Guides


Architecture


Reference


Licensing


Security


Brand


Operations


Contributing


Changelog

Clone this wiki locally