Backup your Flarum files and database to one or more local or remote storages.

Compatible with Flarum v1.8.5

Latest release 1.0.8

7 subscribers


released on May 24, 2020


$40.00 once
for profit
$25.00 per year
for profit
$3.00 per month
for profit


Backup offers the ability to periodically create and upload a backup of your most important data to any of the configured (remote) storage drivers, including S3, FTP and dropbox.

This extension will create a backup of your forum including the database and your assets directory. It combines them into a zip file and uploads it to all the configured storage drivers.


Follow the instructions @ to configure Composer to be able to install premium extensions.

composer require datitisev/flarum-backup:"*"


The admin area now has a new pane called "Backup" it lists all currently supported remote storage drivers. Some of these might be greyed out, you can see the requirements to use them when clicking the configuration modal by clicking the tripple dot behind the adapter.

Once the requirements for an adapter are met the configuration pane is now showing a form that asks for credentials or paths.

After you configured an adapter make sure you also enable them by checking the checkbox.


In order to test the configured and enabled backup adapter, we recommend doing a manual test run first via SSH:

php flarum backup -vvv

If any issues arise, try to see if your adapter(s) are configured correctly.

Now that this works you can set up a cronjob that runs the command, for instance running each night at midnight:

0 0 * * * cd /var/www/html && php flarum backup


You can store your backup to the following locations.

If you need to back up your data to a service not listed below, please suggest it, and I'll do my best to add the service.

  • Local storage
  • Alibaba Cloud (Aliyun)
  • Microsoft Azure
  • Amazon AWS S3
  • Dropbox
  • FTP


If you discover a security vulnerability within Backup, please email [email protected]. All security vulnerabilities will be promptly addressed.

Please include as many details as possible. You can use php flarum info to get the PHP, Flarum and extension versions installed.


Original by Flagrow logo Flagrow.

© 2024 Hyn by DaniĆ«l "Luceos" Klabbers. All rights reserved. · Extensions and extension information is provided by the respective (copyright holding) authors. · Extiverse is not affiliated to the Flarum project or Flarum foundation. · Images on Extiverse pages are from Unsplash.