Backup

Hi,

I am testing UI Bakery Cloud and also UI Bakery On-Premise; so far both work fine :slight_smile:
After reading your documentation, I understood that Git is only available in Enterprise Plans.
Should I use UI Bakery On-premises with Standard or Business Plans, how do I BACKUP the Applications ?
Is all data related to the applications saved to the MySQL Database ?
So a simple MySQL DUMP would be enough to recover from a disaster ?

Thanks

Hi @easylob,

As I’m not from the UI Bakery team, my guess is as good as yours, but there are a few things mentioned in the docs:

  • Reading through the docs, there are 2 different things that you may back up. First is the instance, meaning the configuration of UI Bakery and docker. The second one is the database.

  • To back up the instance (on-premise version), you only need to make a copy of your ui-bakery-on-premise directory. It contains the files .env, docker-compose.yml, docker-compose_old.yml, setup.sh and update.sh. You should do this every time before you run update.sh. (source)

    It’s also mentioned that

    A backup snapshot is created before the update, which can be accessed from the “Release history” menu, allowing you to roll back if necessary. (source)

  • To back up the database, as you said already, you can simply do a database dump, but that might not even be necessary.

  • It might not be necessary because UI Bakery does make backups itself.

    Something I don’t understand quite yet, is if backups are enabled by default. Because in the docs they say it’s recommended to Enable automatic backups for instance and database machines (source). But on the other hand, looking at the Environment variables, the variables UI_BAKERY_AUTOMATIC_BACKUP_INTERVAL and UI_BAKERY_AUTOMATIC_BACKUP_RETENTION do have default values. Furthermore, in my own on-premise app, I can check out Release history and it shows me all the release versions of my app, so I guess it is enabled?
    Or, since it says instance and database, does that mean we should set up some automatic backup process ourselves?

    Would love some clarification on that. @Kate

  • For the cloud version of UI Bakery, it’s specifically mentioned that it makes automatic regular backups.

Hi @easylob

I have confirmed with the dev team, that the MySQL DUMP should be enough for disaster recovery.

And the easiest way to backup only apps — simply export them as an archive :upside_down_face:

Nice suggestion.
Thanks