Skip to content
Skip the docs menu

Addresses and data

Backups and restore

Save restore points of a site (files and database together) and database backups on a timetable, keep them where you choose, and put them back in one step.

Last updated 5 min readView as Markdown

On this page

Fuzops keeps two kinds of backup:

  • Restore points of a site: its code, its shared files (such as uploads) and its database, saved at the same moment. You put a whole site back in one step. Technical name: snapshot.
  • Database backups of a server: one database at a time. Technical name: database dump.

Both run on a timetable you choose and are kept in your team's Backup storage.

First, choose where backups are kept#

Backups need a place to live that is not the site itself. You set it up once for the whole team under Team and settings › Backup storage › Add storage:

  • Online storage you rent, compatible with S3: OVHcloud, Amazon S3, DigitalOcean Spaces, Hetzner, Backblaze, Wasabi, Cloudflare R2 and others.
  • Another server, over SFTP.
  • A folder on the same server. Handy to start, but a backup on the same machine does not protect you if the machine is lost.

Test connection checks that Fuzops can write there. The keys and passwords you enter are stored encrypted and never shown again.

Backup storage with a folder on the server and the extra lock on your backupsBackup storage with a folder on the server and the extra lock on your backups
Backup storage, set once for the team.

Extra lock on your backups#

Optionally, set a team Passphrase (a long password, at least 12 characters). A backup that uses it is scrambled on your server before it leaves it, so whoever runs the storage cannot read it. Technical name: encryption (AES-256). You choose for each backup whether to use it.

Restore points of a site#

Open the site, then the Backups tab.

  1. Choose Set up backups.
  2. Choose How often? (or Only when I start it), Where to keep the backups, and How many backups to keep. Older ones are removed after the next backup that works; the newest good backup is always kept. When your team has storage somewhere else than the server, it is chosen for you. A copy kept on the same server is marked as such: if the server is lost, so is the copy, so add storage elsewhere when you can.
  3. Under More options: Also remove backups older than, extra folders to include, files and folders to ignore (some are ignored for each kind of site by default, such as build caches), Compression and Lock backups with your team passphrase.
  4. Save. Take a restore point now makes one straight away.

Times are in UTC. Each restore point in the list shows its state (Saved, Being made, Failed, Removed (too old)), its size and where it is kept.

Restore points of an Odoo site: one saved restore point and how the site is backed upRestore points of an Odoo site: one saved restore point and how the site is backed up
A site's restore points.

Put a site back#

  1. Choose Put it back on the restore point you want. Each restore point has its own button.
  2. Read What is replaced and What stays as it is now.
  3. Type the site's address to confirm, then choose Put the site back.

Before anything changes, Fuzops saves a "before restore" copy of the site as it is now, and checks and unpacks the restore point aside. If anything fails, the site stays as it is. The settings file of the live site is kept.

Restore without a "before restore" copy exists for when that copy cannot be made, for example when the storage is full.

Not what you wanted? Undo#

After a restore, Undo the restore puts back the code, the shared files and the database from just before the restore. Anything saved on the site since the restore is lost. Undo goes back one level only.

Discard the kept copy now frees the space the copy for Undo takes; the "before restore" point in your storage stays, so you can still go back with Restore.

Download or copy to another server#

  • Each restore point can be downloaded.
  • Copy to another server sets up a copy of the site from a restore point on another of your servers, under the same or a new address. The site is created there if it does not exist yet. Nothing about the address (DNS) is changed for you: visitors keep seeing the old server until you move the address. Use it to move a site, or to try the copy first.

A server's backups#

Open the server, then Databases & backups › Backups. The page shows the restore points of the server's sites and its database backups. Its headline names the worst open problem first: backups that failed or are late, then sites that are not backed up yet.

Set up backups for every site at once#

When some sites on the server have no backups, the page says how many (Which 12 sites lists them) and the button at the top reads Set up backups for all 12 (with your number). It asks the same three questions as a single site (Where to keep the backups, How often?, How many backups to keep) and gives each of those sites its own restore points with these answers. Each site keeps its own extra folders and its kind of site's list of ignored files. Sites that already have backups, sites still being installed and staging sites are not touched. You can change any site's backups later on its own Backups tab.

Database backups#

Choose Back up a database to copy one database on its own. Pick Which database?, How often?, Where to keep the backups and How many backups to keep. MySQL, MariaDB and PostgreSQL databases can be backed up.

Open a backup's row to see its recent backups. Each one has its own Put it back button: for a database you choose a new database (the safe choice), replacing the current one (you type its name to confirm), or Only check that it loads: the backup is loaded into a scratch database that is deleted again right after, so you know it can be put back, without touching anything of yours. For a site's restore point it is the same dialog as on the site's Backups tab.

A database server with no sites is backed up the same way: its databases are listed under Back up a database, and the backups run on the database server itself. The row's menu has Back up now, Download the latest backup, Put back the latest backup…, Edit and Stop backing up….

The Backups page of a server: restore points of its sites and one database backupThe Backups page of a server: restore points of its sites and one database backup
A server's backups: sites and databases on one page.

Being told#

You are told when a backup fails, and when no good backup was made when one was expected, as set on the Notifications page. Home lists sites without backups.

Still stuck? Get help

Docs menu