Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Darren Hunter 143 posts 235 karma points
    1 week ago
    Darren Hunter
    0

    Moving Media Folder from Umbraco 8 to 13

    Hi,

    Ca any one suggest a way to move the media folder, from a V8 site to a V13 site, we done a manual rebuild of the V8 site in V13 rebuilding all data types and nested content as block list and grids.

    But we need a way to get the media files from V8 to V13, I just had a look at the Free Version of USync and that dose not do what I want.

    I just want to dump the media folder and then import it in to V13. The customer who the site belongs to there 10000s of Media File and it will take us days to manual copy them over.

  • Nikhil Prajapati 22 posts 134 karma points MVP
    7 days ago
    Nikhil Prajapati
    0

    Hello Darren,

    Ah, that's always the tricky part when building from scratch. However, you can still import the media into your media section using the usync import functionality by following these steps:

    Note: Ensure you take a database backup before executing the below steps.

    1. Firstly, perform a full export of the usync in the v13 project.
    2. Take the Media folder from the v8 repository (usync>v8>Media) and paste it into the v13 repository (usync>v9/v13>Media).
    3. If you're using local file storage for media, make sure to also copy the media from the physical folder (e.g., /media) and paste it into the v13 physical folder (wwwroot/media).
    4. You should now be able to import the media using usync.

    These steps will help you get the media into the appropriate folders. However, since you're building it from scratch, the media won't be linked to the content automatically. You'll need to handle that either via scripts or manually.

  • Darren Hunter 143 posts 235 karma points
    7 days ago
    Darren Hunter
    0

    Hi,

    Thanks for that but using a Modified version of Paul Seals code: https://codeshare.co.uk/blog/how-i-migrated-my-umbraco-v7-site-to-v8-part-1-media/

    And some coding on my part in V13 I managed to write my own importer. Ok it taking me all day and there are still some bugs I need to fix on Monday.

    But it working how I want it to work, and it going in to the folder structure how I want it to.

    May not be the supper fast. But it checks to make sure the files in use and then adds it.

    So all in all a bit of work but I am happy with the result so far.

    Looking at uSync that looks a bit of a of an odd way to do it, I assume it would of stuck all our 3500 files in the root.

Please Sign in or register to post replies

Write your reply to:

Draft