<p>I've done it in two different ways on different projects.</p>
<p>The most common way is to download a database from another environment and import it.</p>
<p>The downside is that there needs to be a blessed database for everyone to use and someone needs to maintain and update.</p>
<p>It can also contain user data, such as usernames, email addresses, passwords and webform submissions that you should sanitise or remove.</p>
<p>The other option is to install the application from scratch.</p>
<p>For Drupal projects, this means installing using the existing configuration to re-create the content types, fields, views, block types, etc.</p>
<p>This confirms the configuration is installable or it will fail.</p>
<p>As it's a fresh installation, it can be run by anyone without needing to maintain an blessed database and doesn't contain any user data.</p>
<p>Then you can recreate any data, such as users or content, that you need or seed the database with standard data.</p>
<p>For Drupal, <a href="/daily/2024/09/16/experimenting-with-the-default-content-module">I've been using the Default Content module</a> for this, which has been working very well.</p>
<p>If I can, I much prefer the install approach rather than importing.</p>
<p>Which do you do, or do you do something else?</p>
format:full_html
processed:|
<p>How do you update your environments?</p>
<p>I've done it in two different ways on different projects.</p>
<p>The most common way is to download a database from another environment and import it.</p>
<p>The downside is that there needs to be a blessed database for everyone to use and someone needs to maintain and update.</p>
<p>It can also contain user data, such as usernames, email addresses, passwords and webform submissions that you should sanitise or remove.</p>
<p>The other option is to install the application from scratch.</p>
<p>For Drupal projects, this means installing using the existing configuration to re-create the content types, fields, views, block types, etc.</p>
<p>This confirms the configuration is installable or it will fail.</p>
<p>As it's a fresh installation, it can be run by anyone without needing to maintain an blessed database and doesn't contain any user data.</p>
<p>Then you can recreate any data, such as users or content, that you need or seed the database with standard data.</p>
<p>For Drupal, <a href="/daily/2024/09/16/experimenting-with-the-default-content-module">I've been using the Default Content module</a> for this, which has been working very well.</p>