Deploy Borg

Retain dated copies of server files in a deduplicated backup repository and recover a specific revision when a department needs it.

USD 299 a month on Team for one server, with unlimited apps and deployment automation through the Pilae Agent. Pilae Cloud machines are rented separately.

Start deploymentInfrastructure

Runs on
Your own hardware or a Pilae Cloud region you choose
Replaces
Rotating tar archives
Licence
BSD-3-Clause
Your serversAdvisoryPatchSandboxPolicyDeployLive

Borg among the engineering and security apps

Source code, container images, secrets and security events. The systems an auditor asks about first, kept where you can show them.

Borg system requirements

Before anything is deployed, this is what has to exist. We size it with you in the first session, and we say so when your own hardware is already enough.

Where it runs
Your hardwarebare metal, VMware, Proxmox, Hyper-V or Kubernetes, in your datacentrePilae Cloud regionzur1 fra1 fal1 gra1 ams1 hel1 …machines dedicated to you, in the region your contract namesprivate meshaccess by identityencrypted tunnelencrypted, offsiteBorgpinned, patched, watched01Backup clientBorg 1.4.x02RepositoryFilesystem or SSH host03CapacityRetained unique chunks04Consistent sourceFilesystem snapshot orcompleted export05Key custodyExported key andpassphraseYour teamthe people you allowYour identity providerKeycloak or Entra IDPilae Agentplans, asks, applies, recordsPilae consolechange policy and logYour backup targetstorage you own, at asecond sitea second datacentre,same jurisdictionYour hardwareyour servers, your networkPilae Cloud regionzur1 fra1 fal1 gra1 …private meshby identitytunnelencryptedBorgpinned, patched, watched01Backup clientBorg 1.4.x02RepositoryFilesystem or SSHhost03CapacityRetained uniquechunks04ConsistentsourceFilesystem snapshot…05Key custodyExported key andpassphraseYour teamthe people you allowYour sign-inKeycloak, Entra IDPilae Agentplans, asks, applies, recordsPilae consolepolicy and logYour backupsa second sitea second datacentre
On your hardware: the Pilae Agent installs Borg and what it needs on the machines you choose and runs beside it, and encrypted backups go to storage you own at a second location you pick.In a Pilae Cloud region: the same setup on machines dedicated to you, in the region your contract names, with encrypted backups in a second datacentre inside the same jurisdiction.
All 5 requirements, and why each is there
  1. Backup clientBorg 1.4.xThis reference uses the 1.4 command family. Record the exact client and repository-host versions so a recovery operator can reproduce the environment.
  2. RepositoryFilesystem or SSH hostPlace the target in a failure domain independent of the source. Remote SSH operation requires a compatible Borg installation on the repository host.
  3. CapacityRetained unique chunksMeasure repository growth through a representative change cycle, including large rewritten files, and reserve free space for repository maintenance.
  4. Consistent sourceFilesystem snapshot or completed exportCoordinate active applications with their owners. Capture a database through its supported backup mechanism before archiving its output.
  5. Key custodyExported key and passphraseChoose an encryption mode and give an authorised recovery operator a path to both items if the source machine is lost.

Running Borg in production: what it takes

  1. Check coverage and freshness

    Compare the newest accepted archive date for each source with its recovery objective. Investigate files the client could not read or that changed during capture.

  2. Review the retention selection

    Preview pruning for one source using its archive name filter. Check which month-end and weekly dates would survive. Keep repository compaction on a separate maintenance schedule.

  3. Restore from a replacement host

    Retrieve the recovery credentials through the agreed process, extract a selected revision into an empty directory and have its owner open it. Record elapsed time and the archive identifier.

Deployment reference

Reading the Borg 1.4 archive report

Report fieldWhat it tells the operator
Archive fingerprintWhich exact archive did the restore rehearsal use?
Number of filesDid the captured file count change enough to warrant checking the source paths?
This archive / deduplicated sizeHow much chunk data belongs only to this archive?
All archives / deduplicated sizeHow much chunk data does the repository retain across the archive set?
These fields come from the upstream borg info reference. Record the archive and its repository totals separately when estimating how much a retention policy costs.

Migrating from Rotating tar archives to Borg

A directory of weekly tar files can contain years of recovery points, sometimes produced by different scripts. Inventory the dates, source paths and restore instructions before changing the schedule. Start Borg with a current, consistent source. Keep the historical archives accessible for their remaining retention period.

Moving from Rotating tar archives to Borg, step by step

  1. Choose a recoverable input: Identify a department share and a known archive date. Extract a representative folder from the old backup to confirm what the team can recover today. Record ownership, permissions and any excluded mounts.
  2. Compare the same capture: Give both jobs the same read-only filesystem snapshot or completed application export. Extract the Borg copy to a clean directory and compare file contents, symlink targets and required metadata with the source.
  3. Hand over the schedule: After the data owner accepts the restore, record the last tar archive and first accepted Borg archive. Give the on-call team the repository location, expected completion time and route for requesting recovery credentials.
  4. Keep a way back: Preserve the old scheduler configuration and retrieval instructions. If Borg misses the agreed recovery window, restart the former job from a fresh consistent input and document any interval neither system captured.

What Borg is, and who runs it

Recover the signed revision

A project office asks for the version of a supplier drawing it approved before a subsequent edit. Give the operator the source path and the approval date. A useful restore rehearsal ends when the project owner opens that revision, checks its identifier and confirms who should have access to the restored folder. Use the restore test report to keep the archive fingerprint, the request time and that acceptance together.

Borg splits input into chunks and reuses matching chunks within a repository. An archive can therefore present the entire project folder while sharing most of its stored content with other dates. The repository’s growth over a busy revision cycle is a useful sizing input. For a recovery deadline, also measure the time to read and extract those files on a replacement machine. Borg project overview · Archive statistics · Estimating restore time

Read the full briefFold the brief

Test the month-end rule

Give the records owner the proposed list of surviving archive dates before enabling a retention schedule. Suppose an office needs the drawing set from the last working day of each month. A monthly selection rule can select only an archive that actually exists. Compare the dates it chooses against the office’s sign-off dates and account for any missed run. Borg documents the retention selection order, archive filters and dry-run output. Borg pruning reference

Include the recovery process for an encrypted repository in that discussion. An exported key and its passphrase need an owner and a recovery location independent of the failed machine. Rehearse the import on a clean client while the production repository and its credentials remain available. Upstream key management

What the managed plans cover

Compare the operating responsibilities included in Pilae’s plans. How the platform does it.

Ours

  • A pinned version: A version we have run, not whatever latest resolves to that day.
  • A runbook: What it depends on, how it fails, what to do about it. In your repository.
  • Daily backups: Encrypted and offsite, and on Business and Enterprise restored every month. A backup nobody has restored is a file.
  • A patch window: The agent applies security updates automatically in your window, with a rollback ready.
  • Continuous monitoring: Every endpoint probed on the minute. Alerts reach your team, and on Business and Enterprise a Pilae engineer too.

Yours

  • The credentials: You hold them. Ours are separate, named, logged and revocable with one command.
  • The change policy: The agent applies updates automatically in your window. You can require human approval for selected changes or for every update.
  • The exit: The machines, data, deployment configuration and runbook are already yours. Nothing stops when our access does.

Who runs it

Borg runs on every plan. Team is USD 299 a month for up to 3 servers (yours, or Pilae Cloud machines at their own price) and unlimited apps, with no charge per server.

Compare the plans

Borg: common questions

Can one backup be restored without first extracting earlier archives?

Yes. Select the archive by name. Borg resolves the chunks it shares with other archives inside the repository. Protect the repository as a unit.

Will deleting an expired archive immediately free disk space?

In Borg 1.4, pruning removes the selected archive references. Compaction reclaims space from unreferenced data. Chunks still used by retained archives stay in the repository.

Can Borg back up a live PostgreSQL data directory?

Use a PostgreSQL-supported backup or consistent snapshot procedure coordinated by the database owner. A file-by-file read while the database changes can produce an unusable copy.

What should we prepare before deployment?

Provide the source systems, daily change volume, required recovery points, retention schedule and the time allowed to retrieve one department's data. Name the people responsible for key custody and restore acceptance.

Talk to an engineer about your Borg

Tell us about the deployment you already have, or the one you are about to start.

Start deployment

Compare plans and prices, or write to us with a question this page leaves open.