Backups

Tools → Backups, for administrators: every backup in one place, from a folder over SSH or a bucket, to a bucket or a folder on another host, in any direction, on as many schedules as you like. Each project has the same panel, filtered to its own, in its Backups tab.

  1. 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).
  2. 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.
  3. Run it with Run now, or let the schedules do it. Runs follows it live.
Tools → Backups: three backups with their source and destination, schedules, retention and last run, one failed with its reason
Every backup. From → to, when, what is kept and how much, the last run; Run now on each.
The New backup dialog: source and destination with their folders, archive, snapshot or mirror, a command before the copy, schedules with ready-made plans, retention
A backup. What, where, how, as many schedules as you like, and how many daily, weekly and monthly snapshots to keep.
HowFromEach run leaves
Archivea folder over SSHone .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.
SnapshotSSH or a bucketa dated folder with a copy of every file (2026-10-13_030000/)
MirrorSSH or a bucketnothing 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.
The Schedule tab: the coming seven days hour by hour, every schedule with its cron, next run and switch, and what starts next
Schedule. The week ahead at a glance, every schedule with its cron expression and next run, and what starts next.
The Runs tab for one backup: each run with its size, the snapshot path and the retention rules that keep it, older ones pruned
Runs. Each snapshot says which rules keep it; the ones no rule keeps were pruned. Log, download, restore, delete.

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.