diff --git a/odoo_sh/getting_started/branches.rst b/odoo_sh/getting_started/branches.rst index d7bcb52ec..92b2f45f9 100644 --- a/odoo_sh/getting_started/branches.rst +++ b/odoo_sh/getting_started/branches.rst @@ -246,9 +246,17 @@ This server only keeps one month of backups: 7 daily and 4 weekly backups. Dedicated backup servers keep the same backups, as well as 3 additional monthly backups. To restore or download one of these monthly backups, please `contact us `_. -You can make a backup manually before making big changes in your production database in case something goes wrong -(those manual backups are available for about one week). -To avoid abuse, we limit manual backups to 5 per day. +If you merge a commit updating the version of one or several modules (in :file:`__manifest__.py`), or their linked python +dependencies (in :file:`requirements.txt`), then Odoo.sh performs a backup automatically (flagged with type Update in the list), +as either the container will be changed by the installation of new pip packages, either the database itself will be +changed with the module update triggered afterwards. In these two cases, we are doing a backup as it may potentially +break things. + +If you merge a commit that only changes some code without the above-mentioned modifications, then no backup is done +by Odoo.sh, as neither the container nor the database is modified so the platform considers this safe enough. Of course, +as an extra precaution, you can make a backup manually before making big changes in your production sources in case +something goes wrong (those manual backups are available for about one week). To avoid abuse, we limit manual backups +to 5 per day. The *import database* feature accepts database archives in the format provided by: