SEC.01
The playbook
The run starts read-only: the recon probes decide what happens next. The steps that follow are adapted to the distribution and state found — a real machine is rarely clean.
- 01recondistribution, version and package manager (apt or dnf)
- 02reconpgBackRest already present?
- 03reconversion (server_version_num), data_directory, config_file and hba_file of the running cluster
- 04reconWAL archiving already configured (by another tool?)
- 05reconexisting pgBackRest config and disk space for the repository
- 06actInstall pgBackRestverify
- 07actWrite the configurationverify
- 08actEnable WAL archivingverify
- 09actRestart PostgreSQL (brief interruption)destructiveverify
- 10actCreate the stanzaverify
- 11actFirst full backupverify
- 12actSchedule weekly full + daily diffverify
SEC.02
What it verifies
Each step ships its own check. The run only moves on when the check passes, so what the recipe reports as done is what is actually on the server.
- 01verifyInstall pgBackRestVerified by
pgbackrest version - 02verifyWrite the configurationVerified by
grep -c pg1-path /etc/pgbackrest/pgbackrest.conf /etc/pgbackrest.conf 2>/dev/null - 03verifyEnable WAL archivingVerified by
grep archive_command <data_directory>/postgresql.auto.conf - 04verifyRestart PostgreSQL (brief interruption)Verified by
sudo -u postgres psql -tAc 'select 1' - 05verifyCreate the stanzaVerified by
sudo -u postgres pgbackrest --stanza=main check && echo ok - 06verifyFirst full backupVerified by
sudo -u postgres pgbackrest --stanza=main info | grep -c "status: ok" - 07verifySchedule weekly full + daily diffVerified by
grep -c pgbackrest /etc/cron.d/pgbackrest
SEC.03
Guardrails
Non-negotiable instructions the run must respect, whatever it finds on the server.
PostgreSQL required — otherwise stop and suggest install-postgres. Never replace an existing archive_command from another tool. Do not touch the data. Do not log the repository credentials.
SEC.04
How a recipe runs in Servor
Servor is zero-knowledge: the platform cannot execute anything on its own. When you launch this recipe, a run reads the reconnaissance, plans the steps and asks for your approval. Each approved command is signed by your browser — with a key the server never sees — then relayed verbatim to the agent, which verifies the signature locally before executing.
search by intent — type “firewall”, get ufw
- 01Read-only reconnaissance before any change
- 02Every command signed by your browser, approved by you
- 03Each step verified before the run moves on, every run kept in the history
SEC.05
Deploy on Servor button
Maintain pgBackRest or a project that needs it? Put this button in your README or on your site: one click and your users install it on their own server.
SEC.06
More database recipes
- 01PostgreSQLPostgreSQL (major version of your choice) from the official PGDG repository, initialized and verified.
- 02MySQLMySQL Server, secured, bound to localhost, started and verified.
- 03MariaDBMariaDB, secured, bound to localhost, started and verified.
- 04MongoDBMongoDB Community 9.0, local, with authentication enabled and verified.
- 05RabbitMQRabbitMQ broker (official repository) with management, local and a dedicated admin account.
Verified recipe
Run this recipe on your server
Connect a server, launch the recipe, and approve each step as Servor executes and verifies it. Free plan, no card required.