Operation

Backups and CDR archiving

NEXIA backs itself up. In Settings → Backups you control two things: the daily database backup and the automatic CDR archiving — and the panel explains on screen what happens to every file.

Database backups

  • Every day, at the hour you choose (in the server timezone, the one in Settings → Server Configuration), a full backup is created: customers, balances, rates, routing, settings and the calls still in the live database.
  • It is a compressed PostgreSQL dump, restorable with pg_restore. Backup Now creates one on demand under the same rules.
  • Rotation by copies: the switch keeps at most 5 backups (configurable 1–5). When a new one completes and the limit is exceeded, the oldest is deleted automatically — a failed backup never counts against the limit nor replaces a good one.
  • Download the copies you want to keep long-term: once rotated out or deleted, a copy is gone from the server for good.

CDR archiving

Calls older than 60 days (configurable) are exported every night to compressed CSV archives and removed from the live database. That keeps the database fast and the backups small — the database never grows without bound.

  • Nothing is deleted until the archive is safely written: every archived call is inside the CSV before it leaves the database.
  • Each file lists its exact period and call count; download them for billing or audits and they are kept until you delete them (or the optional retention expires).
  • Calls inside the window stay visible in Calls → Last Calls.

Disk control

The page shows each file's size, per-table totals and the free disk space — in red below 10%. Backups cannot fill your disk: rotation guarantees it.

The installer additionally keeps a root-only daily system backup (database + configuration + secrets) under /var/backups/nexia — the safety net underneath. The panel module is your day-to-day operational tool.
© 2026 NEXIA Networks · This wiki grows with every install: if something was missing, tell us and we add it.
On this page