← All stories
ERP · business software

How Unicus protects the PostgreSQL databases behind its ERP with NGBackup, with no agent on the servers

Unicus, which develops Unicus ERP for retail, wholesale and manufacturing across Brazil, protects the PostgreSQL databases of its ERP, SaaS platform and messaging service with NGBackup, through remote dumps and with no agent on the database servers.

3
platforms protected: ERP, SaaS and messaging
0
agents installed on the database servers
2 dias
from installation to the first validated backup
24x7
proactive monitoring, with call-home and remote system management
Como a Unicus protege os bancos PostgreSQL do seu ERP com o NGBackup, sem agente nos servidores

Our business runs on the ERP, SaaS and messaging databases. The NGBackup team understood that during the first assessment, protected every database without touching our containers, and in two days the first backup was validated. Today, if anything goes off track, they are already on it before we notice.

Wesley Corrêa · Technology manager, Unicus

About Unicus

Unicus develops Unicus ERP, a business management system that brings purchasing, inventory, sales, invoicing, shipping, finance and credit together, with built-in CRM, management dashboards and automated pricing. The ERP runs in the cloud or on the customer's premises and serves companies across Brazil in eight segments: furniture and appliances, footwear and clothing, auto parts, wholesale and distribution, building materials, manufacturing, auto centers and lumber.

Unicus customers include Carmen, Casa dos Uniformes, Tex Norte, Tock Móveis, Grupo Maranata, Lojas Economia and Compeças. Besides the ERP, the company runs a SaaS platform and a messaging service, each with its own databases.

The challenge

The first request was to protect the Proxmox virtual machines. While mapping the environment, the NGBackup team and Unicus's technology team reached the same conclusion: the most critical asset was the databases. They are PostgreSQL 15 databases running in containers on three servers, one of them on Alpine Linux. The requirements were:

  • A consistent copy of each database, restorable one database at a time.
  • Nothing installed or changed inside the production containers.
  • Business databases only, leaving out system and staging databases.
  • An automatic routine, closely watched, that does not take up the Unicus team's time.

Agentless database backup

Three Unicus PostgreSQL servers protected by NGBackup through agentless remote dumps, with a disk repository

NGBackup was installed on a dedicated Debian 13 VM, with the Director, Storage Daemon, catalog and web console on the same server. From there, the NGBackup PostgreSQL plugin connects over the network to each database server and produces a logical dump in PostgreSQL's custom format. No agent runs on the database servers, so the Alpine Linux containers are protected just like the rest.

There are three jobs today, one per platform: Unicus ERP, the SaaS platform with two databases, and messaging. The database password lives in a protected file on the backup server, outside the job configuration. Adding a new database means adding it to the list in that server's job.

How the backup runs

The nightly backup step by step: scheduled at 20:00, network connection, custom-format dump with Zstandard, catalog with SHA-256

Every day at 20:00, Brasília time, NGBackup starts the three jobs. Each database becomes its own dump file, compressed with Zstandard and written with a SHA-256 signature. The catalog records each database separately, so it is easy to find and recover exactly what is needed.

Restores are run from the web console. PostgreSQL's custom format can bring back a whole database or just the tables you need, to the original server or another one, which also makes it easy to build a test environment from production.

24x7 monitoring and remote management

Unicus has NGBackup's proactive monitoring around the clock. The backup server sends call-home data on the state of jobs, repository and components, and the NGBackup team manages the system through secure remote access: it tunes jobs, adds new databases and fixes deviations, usually before the Unicus team notices. Every day at 08:00 the system produces a report with the totals for the last 24 hours.

Numbers

Results: 3 platforms protected, no agent on the database servers, 2 days from installation to the first validated backup, 24x7 monitoring
  • Three platforms protected, ERP, SaaS and messaging, across four business databases.
  • No agent installed on the database servers, including the Alpine Linux containers.
  • Two days from installing NGBackup to the first validated backup.
  • Daily backup at 20:00, with Zstandard compression and a SHA-256 signature on every file.
  • 24x7 proactive monitoring, with call-home and remote system management.

How the project was run

The rollout took place in November 2026, run by NGStructures, the company that develops NGBackup, together with Unicus's technology team, coordinated by Wesley Corrêa. Two installation refinements came out of this environment and now apply to every new Debian 13 install: the initial catalog setup and the web console package.

Try it in your environment

You can start with the free Community edition, which protects up to 10 agents and 5 TB with no expiry date. If your databases run in containers or on servers where nothing can be installed, talk to our team.