Copied to clipboard

Flag this post as spam?

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


  • Topic author was deleted

    Jun 16, 2020 @ 13:25

    Exclude media files when publishing

    I'm having some issues using Publisher and media. I suspect it's due to the large volume and size of the files in my media collection!

    I noticed its possible to exclude the media files (while including the medai metadata) when creating a Sync-Pack - this works really well for me as I have all media on Azure Storage and I can move the files between environements really fast with azCopy.

    However, I can't seem to find how to do this with Publisher. Is it possible?

    Many thanks,

    Joe

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Jun 16, 2020 @ 15:24
    Kevin Jump
    0

    Hi Joe,

    It is possible - not sure if it's recommended though.

    You could exclude the media folders agains the media handler within the uSync8.config file (as in this documentation from the contentHandler https://docs.jumoo.co.uk/uSync/v8/ContentEdition/contentHandler/)

    In terms of large media storage, one of the main reasons for a delay is because we create a hash of all the files in the media folders so we know when they have changed. this too can be turned off - but then media would only get pushed between servers if the media item inside umbraco changed as opposed to the file being updated.

    again. there is a config key for that... i will go dig it out.

    I am assuming its slow when you push your media section, not when pushing the content that may have media in it - or is it a bit of both.

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Jun 16, 2020 @ 16:31
    Kevin Jump
    0

    Hi,

    I've taken a deeper look, and i don't think you can exclude the media files from the publisher syncs at the moment :( - we actually have code in there to stop you accidentally setting the config to not use the files. and this stops us from turning them off in the current release :(

    But we'll take a look - there should be a nicer way to do this anyway, so we might be able to fit something into a update for you.

  • Joe Glombek 5 posts 75 karma points MVP 3x c-trib
    Jun 25, 2020 @ 10:34
    Joe Glombek
    0

    Sorry for the delay here, I had tyo work around it and come back to this when I had time.

    The media files I'm transferring are zips. And admittedly there are a lot of them, all linked from one page.

    The calculate step is slow with the "Extracting" steps, but bearable.

    The export step is very slow, again "Extracting".

    I think then it fails with an out of memory exception at the Push step when packing.

    This is running on IIS Express which could be part of the issue!

    Any suggestions on configuration that may ease these would be a great help!

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft