Addons
Plugin

Parachute – Backups für SwiftyEdit

Parachute backs up your SwiftyEdit Data (database, uploads, configs ...) as a ZIP file that you can download directly from the backend.

Download Documentation · Requires SwiftyEdit Build 26-0219+

One click, one ZIP file, everything included: databases, uploads, plugin data, configuration, and themes.

What does Parachute do?

Parachute backs up your SwiftyEdit installation as a ZIP file that you can download directly from the backend. You choose what to include:

  • Databases: Pages, posts, store, users, and settings (SQLite or MySQL)
  • Plugin data: the data and uploads for every installed plugin
  • Uploads: images, files, galleries, avatars
  • Configuration: config.php, SMTP settings, .htaccess, and custom includes
  • Custom Themes: excluding node_modules

Parachute does not back up the SwiftyEdit code itself. You can download it again at any time. Everything that exists only on your site is backed up.

Why should you install it?

Because backups usually only become an issue when it’s too late. Parachute is designed for exactly that moment:

  • Consistent database snapshots. SQLite databases aren’t simply copied; instead, they’re backed up using VACUUM INTO. Otherwise, a copy taken in the middle of a write operation might be corrupted.
  • Every backup is verified. After writing, Parachute reopens the ZIP file and checks it. A manifest with SHA-256 checksums later confirms whether every file remains unchanged.
  • Optional encryption. Upon request, the ZIP file is encrypted with AES-256. The password is not stored anywhere.
  • For authorized users only. Only administrators with permission to access sensitive files have access. This is verified with every request. Every creation, download, and deletion is logged.
  • No server hardware required. Even the MySQL dump runs in pure PHP, without mysqldump or exec(). This works on virtually any shared hosting plan.
  • Cleans up on its own. Parachute retains only the last N backups on the server.

How do you install it?

Via the backend
If plugin installation is enabled in your installation, you can install Parachute directly in the backend under Addons.

Via FTP

  1. Download the latest release from GitHub.
  2. Unzip the ZIP file and upload the folder to plugins/parachute/ in your installation.

Next: Enable the plugin under Add-ons. This is necessary because downloads are handled through the front end. You’ll then find Parachute under Add-ons › Parachute.

Requirements

  • SwiftyEdit Build 26-0219 or newer
  • PHP extension zip. For encryption, you need libzip 1.2 or newer.
  • SQLite 3.27 or newer for consistent snapshots. With older versions, Parachute simply copies the database and displays a warning.
  • MySQL: Support has only been tested with MySQL 8.4 so far; MariaDB and older versions have not yet been tested. Download a backup from the MySQL website and test the import before relying on it.

Documentation

Parachute

Parachute creates backups of your SwiftyEdit installation as downloadable ZIP files.

What can be backed up?

Group Contents
Databases data/database/*.sqlite3 – pages, posts, shop, users, settings. With MySQL: SQL dump of the tables
Plugin data plugins/<name>/data/ and plugins/<name>/uploads/ of every plugin
Uploads public/assets/images, images_tmb, files, galleries, avatars, branding
Configuration data/config.php, data/config_smtp.php, config_database.php (MySQL), data/includes/, public/.htaccess
Themes custom themes in public/assets/themes/ (without node_modules)

Not backed up: the cache (data/cache/), the core themes administration and default (replaced by every update) and the SwiftyEdit code itself – you can always download it again.

How a backup works

  1. Select the sources (the last selection is remembered), optionally a password and a note.
  2. Create backup – SQLite databases are saved as a consistent snapshot via VACUUM INTO instead of a plain copy, which could be broken if taken in the middle of a write.
  3. The ZIP is reopened after writing and checked for consistency. With MySQL an SQL dump is created instead (see below).
  4. Older backups beyond the configured number are deleted automatically.

Every ZIP contains a parachute-manifest.json (time, user, SwiftyEdit version, every file with its SHA-256 checksum) and a short parachute-restore.txt.

MySQL

If the installation runs on MySQL (config_database.php in the root folder), the "Databases" group shows an entry MySQL: <database name>. Parachute then creates an SQL dump in PHP – neither mysqldump nor exec() is needed.

  • Only this installation's tables are saved: everything with the table prefix, without a prefix all se_* tables. Other applications in the same database are left out.
  • The dump runs inside a consistent snapshot (like mysqldump --single-transaction), the site keeps running normally. This applies to InnoDB tables; MyISAM tables have no snapshots.
  • In the ZIP the dump is stored as database-dump/<database>.sql.
  • Plugins store their data in their own SQLite files even with MySQL – that's what the "Plugin data" group is for.

Important: download your backups!

A backup that only exists on the same server doesn't help when the server fails or is compromised. Download important backups and keep them somewhere else.

Deleting the plugin also deletes all backups in plugins/parachute/data/.

Log

Every create, download and delete is logged with time and user. Deleted backups disappear from the list, their log entry stays.

Restore

Parachute deliberately does not restore backups with a click. A failed or partial restore through the backend can break the site – exactly when you need it most. Restoring is done via FTP/SFTP or SSH instead.

ZIP layout

All paths in the ZIP are relative to the installation root (the folder that contains config.php, data/, plugins/ and public/). Every file belongs at exactly the path it has in the ZIP:

data/database/content.sqlite3   ->  <installation>/data/database/content.sqlite3
plugins/former/data/...         ->  <installation>/plugins/former/data/...
public/assets/images/...        ->  <installation>/public/assets/images/...

Steps

  1. Make a fresh backup first – of the broken state, too.
  2. Unpack the ZIP locally. Open encrypted ZIPs (AES-256) with 7-Zip, Keka or The Unarchiver – the built-in macOS/Windows unzip can't.
  3. Check the SwiftyEdit version in parachute-manifest.json. Databases should be restored into the same version.
  4. Upload only the files you actually want back and overwrite the existing ones. For SQLite databases, delete any -wal/-shm files next to them.
  5. Check file permissions: the web server needs write access to the databases and folders.
  6. Empty the cache folder data/cache/ so nothing stale is served.

On a server with SSH, for example:

cd /path/to/installation
7z x /path/to/parachute-....zip data/database/content.sqlite3

Importing a MySQL dump

database-dump/<database>.sql is not copied but imported. The dump drops every table it contains (DROP TABLE) and recreates it – other tables in the database stay untouched.

  • phpMyAdmin / Adminer: select the database > Import > upload the file.
  • Via SSH:
mysql -u USER -p DATABASE < database-dump/database.sql

If the table prefix of the target installation differs from the dump, adjust DB_PREFIX in config_database.php.

Checksums

Verify that a file is unchanged with the checksum from the manifest:

shasum -a 256 data/database/content.sqlite3

Security

A backup contains the whole site – including the user database (password hashes, personal data) and possibly the SMTP password from config_smtp.php or the MySQL credentials from config_database.php. Access is restricted accordingly.

Permissions

Every function (viewing, creating, downloading, deleting, settings) requires:

  • user class administrator and
  • the sensitive files permission (drm_acp_sensitive_files).

That's the same level that protects installing plugins and editing theme files. It is checked on every single request, not only when the menu entry is opened.

Storage

Backups are stored in plugins/parachute/data/backups/ – outside the public/ web root, so they can't be reached by URL. Downloads only go through the plugin's download endpoint, which checks the permission and logs the download. An additional .htaccess locks the folder in case the installation is misconfigured.

Encryption

Optionally the ZIP is encrypted with AES-256. The password is not stored anywhere.

  • Without the password the backup can't be restored.
  • File contents are encrypted, the file names in the ZIP stay visible (a property of the ZIP format).
  • Encryption is strongly recommended for downloaded backups that end up in a cloud storage.

Privacy

Backups contain personal data. Decide how long backups are kept and delete downloaded copies you no longer need.

As of 2026-10-22 · View on GitHub