- Storage. Add storage: an S3 bucket (Amazon S3, a Johnny bucket,
MinIO, Garage, any S3-compatible storage: endpoint, region, bucket, a key that reads, writes and deletes in it;
the keys of an AWS account of Administration → Connectors fill the form), a folder over
SSH (host, port, user and one of the system keys of Administration → System, the keys shared
with projects: add its public half to the user's
authorized_keys), or a new Johnny bucket made with a key of its own on a Johnny panel of the connectors. Studio checks it on saving; an SSH host's key is accepted then and required on every connection after (Accept a new host key when the server was reinstalled). - A backup. New backup: what (a source and a folder or prefix), where to (a destination and a folder or prefix under which each run goes), how, when, what to keep.
- Run it with Run now, or let the schedules do it. Runs follows it live.
| How | From | Each run leaves |
|---|---|---|
| Archive | a folder over SSH | one .tar.gz, made with tar on the
host and streamed to the destination: nothing lands on Studio's disk. Downloadable from a bucket with a link
valid one hour. |
| Snapshot | SSH or a bucket | a dated folder with a copy of every file
(2026-10-13_030000/) |
| Mirror | SSH or a bucket | nothing of its own: the destination is kept identical to the source, no history |
- Schedules, as many as you like
- Every hour at a minute, every day at a time, some weekdays, a day of the month, or any cron expression, in the backup's timezone. Ready-made: nightly, twice a day, hourly, daily + weekly + monthly. The Schedule tab shows every schedule with its cron and its next run, the coming seven days hour by hour, and what starts next.
- What is kept
- The latest n runs, plus the newest of each of the last days, weeks, months and years that have one (a day without a backup does not use up a slot). After each run Studio deletes, at the destination, the snapshots no rule keeps; each kept one says which rules keep it. The newest always stays.
- Before the copy
- A command run on the SSH source first, a database dump into the folder for
instance (
mysqldump --single-transaction shop > ~/current/storage/db.sql): the copy starts only if it succeeds. Patterns to leave out (storage/logs,node_modules).
- Restore
- From Runs, any snapshot still kept: an archive is unpacked into a folder of an SSH host, or copied as it is into a bucket; a snapshot's files are copied anywhere. A new folder is safest: compare, then swap.
Studio runs the backups from its own server: studio:backups starts the schedules due every minute,
and the runs go to a queue of their own served by the studio-backups worker, one run at a time per
backup, hours allowed each, so a long copy never holds up workspaces or deploys. The copying is
rclone (installed with Studio) and
ssh; the bucket keys travel in the command's environment, the SSH key in a file only Studio reads, both
gone when the command ends. A run whose worker stopped answering is marked failed after twenty minutes of
silence. Every run keeps its log.



