Migrate configurations
You migrate Sitefinity CMS configurations from the database to the file system, using an ASPX page, which helps to extract the configurations. The code runs only on applications, which are configured to store configurations in the database: <sitefinityConfig storageMode="Database" />
IMPORTANT: Before executing the code, you must backup of project files and database.
Procedure
- Download the page from Sitefinity CMS GitHub repository.
- Host ConfigMigration.aspx page in your application under
~/Sitefinityand integrate it in your project. - Navigate to
~/Sitefinity/ConfigMigration.aspxpage.
You should be logged as administrator. - Click Migrate.
The system creates an automatic back up of your current configurations, which are stored in~\App_Data\Sitefinity\Configurationfolder, and stores it in the same folder with format_config_migration_backup + Time stamp
All existing Sitefinity CMS configurations are extracted and saved in~\App_Data\Sitefinity\Configurationfolder. - Update the
web.configfile by replacing
<sitefinityConfig storageMode="Database" />
with
<sitefinityConfig storageMode="FileSystem" /> - Recycle the application pool of the website.
- Validate that your site is working correctly. After confirming that the application functions as expected, perform the following:
- In the database, delete all rows from table
[sf_xml_config_items] - Clean up the backups created in
~\App_Data\Sitefinity\Configurationfolder.
- In the database, delete all rows from table
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
Get started with Integration Hub | Sitefinity Cloud
This free lesson teaches administrators, marketers, and other business professionals how to use Sitefinity Integration Hub to create automated workflows between Sitefinity and other business systems.
Web Security for Sitefinity Administrators
This free lesson teaches administrators the basics about protecting your Sitefinity instance and your sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
Foundations of Sitefinity ASP.NET Core Development
The free on-demand video course teaches developers how to use Sitefinity ASP.NET Core and take advantage of its decoupled architecture and modern development model.