Deploy restic
Recover a dated copy of a server directory from an encrypted repository, even when the machine that wrote the backup is unavailable.
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.
- Instant deployment setup
- Engineering and security
- BSD-2-Clause
- Replaces Scheduled file-copy jobs
- Runs on
- Your own hardware or a Pilae Cloud region you choose
- Replaces
- Scheduled file-copy jobs
- Licence
- BSD-2-Clause
restic 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.
restic 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.
All 4 requirements, and why each is there
- Source hostrestic binary and readable source pathsInclude mounts and data owners in the inventory. Budget the initial scan and first transfer against a window agreed with the application team.
- RepositoryFilesystem or supported remote backendSize for changed data across the retention window. Measure writes during a representative busy period and leave space for maintenance.
- Recovery credentialsStorage access and repository passwordArrange authorised retrieval when the source host is lost. Verify the storage operator and repository custodian can supply their respective credentials during a drill.
- Restore targetSeparate host and staging diskReserve space for the largest workload that must be recovered together, including temporary space to import an application export.
Running restic in production: what it takes
Check that the expected snapshot exists
Track the backup exit status and the newest snapshot for each agreed host and path. Investigate a partial backup even when it leaves a snapshot behind.
Exercise repository reads
Schedule repository checks and budget time for reading stored data. On remote storage, include request volume, read charges and bandwidth in the maintenance window.
Recover one business record
Restore to an isolated destination. Have the owner open a recovered file through their ordinary account or import the application export into a test instance. Record the snapshot ID, elapsed time and acceptance result.
Deployment reference
Select a snapshot by source before restoring
restic -r /mnt/backup/repository snapshots --host records-01 --path /srv/records restic -r /mnt/backup/repository ls SNAPSHOT_ID restic -r /mnt/backup/repository restore SNAPSHOT_ID --target /srv/recovery/drill
Migrating from Scheduled file-copy jobs to restic
A nightly copy can contain only the latest state of a directory. Inventory the dates the old job can actually recover and keep those copies readable through their existing retention period. Start the restic history with a baseline of the source at a recorded time.
- CompareSelf-hosting vs managed open source: doing it yourself, or PilaeSelf-hosting gives you the apps and the whole job of running them. Pilae gives you the same open-source apps, operated under a contract, on your premises or in Pilae Cloud.
Moving from Scheduled file-copy jobs to restic, step by step
- Choose a recovery fixture: Select a small directory with a known file, its checksum and its intended owner. Include a file changed after the first backup so operators must choose the right date to retrieve the original.
- Run both schedules: Leave the existing copy job active while restic backs up the same agreed source. Compare the included paths and excluded mounts. For a changing application, agree on a consistent export or filesystem snapshot before comparing results.
- Recover using the handover record: Give a second operator a clean host. Have them retrieve credentials, identify the baseline by host and path, restore it into a separate directory and compare the fixture checksum, permissions and modification time.
- Switch after an accepted restore: Keep the old recovery instructions, copies and schedule configuration. If a subsequent drill fails, resume the old job to a fresh destination that preserves historical copies, record the coverage gap and investigate the failed recovery point.
What restic is, and who runs it
Recover the signed drawing that a later edit replaced
Suppose the drawing attached to a maintenance order changed on Tuesday. Engineering wants Monday’s signed version, while production still needs Tuesday’s file. Select Monday’s snapshot using the host and the original path. Restore into a separate working directory and let the engineer check the drawing number and revision before releasing the recovered copy. This tests a concrete recovery point without interrupting the current job. Working with restic repositories · Restoring from backup
The credentials used to reach the storage backend and the credential used to decrypt the repository have different jobs. A recovery drill should exercise both. If the target is Garage object storage, the restic and Garage restore guide walks a second operator through snapshot selection, endpoint access and verification on a clean client. Upstream repository setup
Read the full briefFold the brief
Scope the recovery window
The amount of data written each night and the amount required after a failure can differ greatly. A small overnight change to the drawing library may fit a short backup window. Recovering the complete library onto replacement storage can require a much longer transfer. Bring both figures when requesting a deployment, along with a list of the files needed first to resume production. The restic project distributes the client under the BSD two-clause licence.
To compare how another deduplicating backup tool handles archive retention and recovery keys, see the Borg deployment guide. Test the same restore set with both tools.
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
Engineers who answer for it
On Business and Enterprise, our engineers respond to incidents and take over when the agent needs a hand.
Your data stays where the contract says
On your own servers or in Pilae Cloud, in the region you choose, and your contract names each location.
Who handles your data, in writing
Your data processing agreement names every company that handles your data, and none is added without notice and a right to object.
restic 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 plansrestic: common questions
What if the source machine held the only repository password?
Can we back up an active database directory?
Can an operator restore the version from before a bad edit?
What should we prepare before deployment?
Talk to an engineer about your restic
Tell us about the deployment you already have, or the one you are about to start.
Compare plans and prices, or write to us with a question this page leaves open.
- Go deeperManaged open-source hosting and operationsPatching, daily encrypted backups, monitoring and incident response for your open-source apps, under an SLA with an availability commitment of up to 99.9%.
- CompareEngineering and security appsSource code, container images, secrets and security events. The systems an auditor asks about first, kept where you can show them.
- CheckSecurity for self-hosted open-source apps, run by PilaePrivate networking, hardened machines, named access, tracked advisories and a full audit log, built to ISO 27001 controls.
