In the simplest use case, in order to deploy a Backdrop site, you will need to transfer the following 2 things to the server hosting your site:
- The codebase of your site (various files that need to be copied across)
- The database of your site (a single data export that needs to be imported to the server)
By default, the codebase includes:
- the Backdrop core files, which include the
/coredirectory, and any other files/directories that are not media assets or configuration files (see two following points).
/filesdirectory, which holds all the media assets managed by the CMS (files uploaded by content editors via the administrative interface).
/configdirectory, which is by default located within the
/filesdirectory, to hold your site configuration.
In simple setups, the
/files directory will be at the same level as the
/core directory, and it will include the
/config directory in it as well.
In more advanced setups, the
/files and the
/config directories may be configured to be placed outside the codebase (and optionally also have different names). In such cases, you will need to transfer the following 4 things:
- the codebase (Backdrop core + any contributed or custom modules/themes/layouts)
- the database
- the directory that holds the media assets of the site
- the directory that holds the configuration of the site
All of these items will need to be copied to your server. Once there, they will need to be connected via the
settings.php file in your web root (or a
settings.local.php file, if you prefer).
There are many ways to deploy Backdrop websites from one server (or from your local computer) to another server. Please use the option below that best suits your needs.