Automatic, encrypted backups to your own Google Drive.See plans →

Add a server

The FlashBackup agent is a small program that runs on your server. It makes the backups and sends them to your Google Drive. You install it once with a single command.

Requirements

Install

  1. In the dashboard, go to Servers, type a name (for example Main website server) and click Get install command.
  2. Copy the command shown. It looks like this:
    curl -fsSL https://flashbackup.com.ng/install.sh | sudo bash -s -- 1a2b3c…
  3. Connect to your server (SSH, or the "Connect" button in your cloud provider's console), paste the command and press Enter.
  4. When it finishes, the installer prints your encryption key. Copy it into a password manager now.
  5. Go back to the dashboard. Within a minute, the page shows Connected! and opens your server.
Each install command works once and expires after 24 hours. For another server, create a new command.

What the installer does

The agent runs backups at low priority, so your websites stay fast. Backups stream directly to Google Drive, so they don't fill up your disk. The exception is SQLite, which needs a temporary safe copy.

Check that it's running

sudo systemctl status flashbackup-agent     # should say "active (running)"
sudo journalctl -u flashbackup-agent -f     # live log (Ctrl+C to exit)
sudo flashbackup-agent status               # connection and installed tools

Update the agent

When a new version is available, the server page in the dashboard shows a notice. To update, run:

curl -fsSL https://flashbackup.com.ng/install.sh | sudo bash

Your settings and encryption key are kept.

Remove the agent

  1. In the dashboard, open the server and click Remove server.
  2. On the server, run:
    curl -fsSL https://flashbackup.com.ng/install.sh | sudo bash -s -- --uninstall

The uninstaller keeps /etc/flashbackup/agent.json because it contains your encryption key. Delete it only when you are sure you won't need to open old backups.

Moving to a new server

Install the agent on the new server with a new command. To restore old backups on the new server, copy the encryption key from the old one (sudo flashbackup-agent show-key), or use --key when decrypting. See Restore a backup.