Copied to clipboard

Flag this post as spam?

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


  • Rob Shaw 37 posts 170 karma points c-trib
    Apr 26, 2022 @ 12:25
    Rob Shaw
    0

    Migrating physical media files

    Hi all,

    Currently we are using uSync complete to handle content migrations between environments and it's great. However we are trying to figure out how we can move the "physical" media files and not just the database references.

    I am aware that the documentation states:

    By default, uSync stores the media settings, in the uSync/data/media. As of later versions (3.2+) it does not store a copy of the media items anymore. Since Umbraco 7.4 it has become much easier to just copy your media folder between installations, and let uSync only deal with the media config.

    I was just wondering if anyone had any work around for manually moving the files? We would like to not have to have rely on humans (no offence) and make this automated if possible!

    Thanks, Rob

  • Kevin Jump 2342 posts 14889 karma points MVP 8x c-trib
    Apr 26, 2022 @ 14:55
    Kevin Jump
    100

    Hi Rob,

    uSync.Complete (either via uSync.publisher or or uSync.Exporter) should migrate the physical media files as part of the process - it does this by working out what the required files are zipping them up and pushing them across the wire between sites.

    There is stuff in there to deal with request sizes, timeouts and if you are using azure blob storage etc - if you have some funky blob storage settings it can sometimes need a little extra config.

    but for 99% of people these shouldn't be an issue.

    For publisher you need to make sure you have 'Include Media' ticked in the server config

    enter image description here

    if your using exporter there is a 'Include media files' option when you create the media pack.

    Kevin

  • Rob Shaw 37 posts 170 karma points c-trib
    Apr 27, 2022 @ 12:13
    Rob Shaw
    0

    Thanks for the timely response as always Kevin!

    I am going to relay this to the client with a small demonstration.

    Thanks again, Rob

Please Sign in or register to post replies

Write your reply to:

Draft