Skip to content

rsoeteman/DatabaseVnextMigrator

Repository files navigation

Introduction

Scripts and custom logic that creates a temporary V10 and v13 site so we can migrate the V8 database to the latest version of Umbraco. The scripts assume the V8 database is already imported in SQL Server.

The sites are only needed for migrating the database and can be deleted afterwards. The migrated database can be referenced in the new solution

How to use the powershell script

  1. Open this folder in a terminal.
  2. Modify variables in the powershell script(s) to your needs.
  3. Run CreateV10MigrationSite.ps1
  4. Run CreateV13MigrationSite.ps1
  5. Run ModifyMigrationSites.ps1
  6. Update connectionstring in both sites with the (v8) database we want to convert.
  7. Run V10 site and run the upgrader in Umbraco.
  8. Run V13 site (Automatically will run the upgrader and runs for a few minutes since a change is needed in umbracoPropertyData table).

Notes

During Install the admin user will be reset to [email protected].

Currently we are using the connectionstring server=.\SQLSERVER;database=my dayabase;user id=UmbracoCMS;password='My super secret password';TrustServerCertificate=True;Connection Timeout=3600 for conversion

About

A sample repo how I upgrade Umbraco databases these days from V8 to Vnext

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published