Umbraco 7.2 upgrade CLI tool
# help-with-umbraco
a
I'm probably looking for a needle in a haystack... 2 years ago I found a CLI on GitHub which migrated from #umbraco 7.2 to 7.5... This tool also supported converting Archtype to Nested... Does anyone know who wrote this tool? I'm thinking @Steve_Gibe or @paulmarden...
a
What's your use case? uSync Migrations can probably deal with that, although it's not CLI
If you don't mind looking through totally undocumented code, I also have my **Limbo Migrations**: https://github.com/limbo-works/Limbo.Umbraco.Migrations I have some uncommitted code that handles Nested Content to Block List. I can commit that if you need some inspiration. I haven't had to migrate Archetype yet, so I have nothing to handle that though
a
I need to go from 7.2 -> 7.4 -> 7.15 before I can even think of any newer versions 😅
m
https://our.umbraco.com/packages/collaboration/chauffeur/ Is the only thing I can think of for that time
a
Why is that? My approach has been migrating rather than upgrading. I've set up a fresh Umbraco 10 site, and then started re-creating the content types and date types (for now I've done this part manually), and then have my code re-create all content in the new site and importing all referenced media that I find on my way. When you create new content via C#, you set set the GUID key that a content item is assigned, so I'm setting the same key as the content had on the old site. I'm currently working on the third site I'm migrating like this, and it works like a charm. I haven't looked too much at uSync Migrations as I started on the first site before uSync Migrations was out - but I think it has a somewhat similar approach. So far I haven't handled anything with members or users though.
p
I agree about migrating rather than upgrading to clear out all of the legacy crap that you will still potentially drag across into newer versions with "*upgrade*". I am in the process of taking a v7 site to v12 but the v7 site has been in existence since v4 and gone through many upgrades over the last decade! We really don't want any of the legacy stuff coming across that might bite us later on so are focused just on migrating the content now.
6 Views