Backup datitisev/flarum-backup

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


Plan comparison


Subscribe to any of the available plans below.

Plan Select
$40.00 once
log in
$25.00 per year
log in
$3.00 per month
log in


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.


  • Version 1.1.0.

    Likely works with Flarum v1.8.5.

  • 16 additional versions.
  • Extension created.