I'm looking for documentation on doing a restore from backup so I can work out what I need to backup.

I assume probably naively that I just need to backup:

  • MySQL database
  • Extensions
  • Configuration files

I'm a bit concerned about uploaded files. Can someone tell me where they go, or are they kept in the DB as well?

How also can I backup extensions? Or is it simpler to keep a list of installed extensions and re-install them manually?

Sorry if I completely missed any docs on this. It seemed the offered backup/restore solution is via a premium extension.
Thanks 🙂

    adam42

    Uploaded files are stored inside /public/assets/uploads, I believe?

    It's worth backing up the public directory of your Flarum install as this contains a lot of public data, such as your users' avatars, extension assets, etc.

    I've personally always backed up my database and everything in my Flarum folder, except the vendor directory, and stored it in the cloud, and that seems to work fine.

    adam42

    Hi Adam!

    Personally, I backup:

    1. The SQL Database
    2. The entire FTP folder, except for the vendor folder.

    In some situations, you may also prefer to not back up your config.php - this can be rebuilt fairly easily anyway.

    If you back up your composer.json file by the way, then running a simple composer update in your flarum root will pull down your extensions again anyway 🙂

    Hope that this helps! 🙂

    luceos changed the title to what to backup .