How a backup works here.
BackupBinder keeps a restic archive of a site on this machine. Restic is the program that stores the archive. Each successful run is a snapshot, and file data that has not changed is stored once.
A site is a directory of files. When an addon matches that directory, the backup can also include a database dump. WordPress is the addon that ships with the program. A directory that matches nothing is files only.
With no destination turned on, the backup stays on this computer. That backup is complete. A destination is an extra copy of the finished archive.
The program you build is named backupbinder.
-
Install
Build the binary, run doctor, take a first backup, then check a restore.
-
First backup
Point it at a folder or a server, answer one step at a time, and see what the run stores.
-
Restore
Extract a snapshot into an empty folder and leave the live site alone.
-
Check
Verify the snapshot against the manifest, then use test_restore for restore confidence.
-
Schedules
Call the program from cron, choose how many snapshots to keep, and cap the speed.
-
Destinations
Copy a finished archive to SFTP, a disk, S3, B2, or Google Drive.
-
Extend
Add a site type or destination kind with a JSON file next to the program.
-
Agents
Use the same commands from a script or over MCP, after naming the exact site.
-
Trouble
Read doctor and explain_failure when a run fails.