How to keep offsite copies of your backups on S3 or SFTP (Restora Pro)
Set up remote storage on Amazon S3, Backblaze B2, Wasabi, MinIO, Cloudflare R2 or any S3-compatible service, or on an SFTP server; choose which backups are sent; test the connection; fetch a copy back; and how retention works there.

A backup on the server it protects is lost with that server. Restora Pro sends a copy of every backup (or only the scheduled ones) to storage you already have: an S3-compatible bucket or an SFTP server. The Remote storage card on the Restora screen holds the settings; here is how to fill it in.
Choose the storage
Send copies to: Nowhere, SFTP server, or S3-compatible storage. Then Which backups: Every backup, Scheduled backups only, or Only the ones I send by hand. Safety backups taken before a restore are never sent.
S3-compatible storage
This covers Amazon S3 and every service that speaks the S3 API: Backblaze B2, Wasabi, MinIO, Cloudflare R2, DigitalOcean Spaces and others. You need a bucket and an access key with permission to list, write, read and delete objects in it.
| Field | What to enter |
|---|---|
| Endpoint | “The address your storage provider gives for its S3 API, without the bucket name.” For example https://s3.eu-central-1.amazonaws.com, or the endpoint shown in your provider's bucket settings. |
| Region | The bucket's region; us-east-1 when the provider does not use regions. |
| Bucket | The bucket name. |
| Access key, Secret key | The key pair the provider issued. The secret is stored encrypted and never shown again; the form says “A value is stored. Leave empty to keep it.” |
| Folder in the bucket | Optional; a prefix such as backups/shop so several sites can share one bucket. |
| Addressing | “Put the bucket in the path (endpoint/bucket)” is on by default and “Works with most providers. Untick it if yours requires the bucket in the host name (bucket.endpoint).” |
Large archives go up as a multipart upload in 8 MB parts, which is what lets an upload pause at the end of a time slice and continue in the next request.
SFTP server
SFTP goes through PHP's cURL, which must have been built with SSH support (most are; otherwise the card says “SFTP is not available here: this server's cURL was built without it.”).
- Host and port (22 by default), User.
- Log in with a password, or a private key pasted into the form, with its passphrase if it has one.
- Folder: “Relative to the home folder of that user, or a full path starting with /. It is created if missing.” The default is
restora-backups. - Server fingerprint: the host key fingerprint (
SHA256:…or MD5). “Leave it empty and Restora reads and keeps the server's key on the first connection; from then on it refuses to talk to any other server at that address.”
An upload is appended to <name>.part on the server and renamed at the end, so an interrupted upload continues from where the server says it got to.
Test, save, send
- Press Test connection. A good answer is “Connection works: a test file was written, read back and removed.” An error from the service is shown as is, for example “The storage answered 403. …” for wrong S3 credentials, or “SFTP error: …”.
- Press Save.
- From now on, backups of the kind you chose get a copy on the remote storage once they are written. The create card also offers Back up and send for a one-off, and every backup in the list has a Send button.
If sending fails, the backup is still saved on the server, with a warning: “The backup is saved on this server, but sending it to the remote storage failed: …”.
See what is there, and fetch a copy back
Show what is stored there lists the backups on the remote storage, marked “Also on this server” or “Remote only”, with Fetch to bring a remote-only copy back and Delete to remove it from the storage. Only a complete Restora archive is accepted (“The file that arrived is not a complete Restora backup.”), and at restore time the copy is checked against the digest Restora recorded when it made the backup, so a copy altered on the way is refused.
Retention on the remote storage
The same rule as on the server: the newest scheduled copies of each kind are kept, as many as Scheduled backups to keep says, and older scheduled copies are deleted after each new backup. Copies of manual backups are never deleted for you.
Remote storage holds your backups, so it holds your site's data. Combine it with encryption if the storage is shared or managed by someone else.