azure blob folder and files
# help-with-umbraco
n
I have built new website on umbraco 12 and using exiting azure blob storage. On website, media is coming when i go to direct path and also from umbraco media tree, i can upload media and its creating in blob storage but media tree is not showing all folders / files from azure blob storage
c
Hi @Nilay! Are you uploading files directly to blobstorage without having them go through Umbraco to upload/register them?
n
ya
there are lot of files
c
That's the thing, the Media section doesn't automatically reflect what's in the Blob storage, but only shows its own Media nodes that happen to have a file stores in Blob behind the scenes
n
so folder and file names ( tree structure) is in umbraco DB only?
c
Correct. The way Umbraco stores media and folders in a tree structure also doesnt usually 1 to 1 match the Blob storage structure either, due to Umbraco's way of storing the files
n
Can i write query in old db and insert in new db for media tree?
Or can use usync
I need to copy media structure from umbraco 7 to umbraco 12
c
In theory doing the Umbraco migration path from 7 to 12 should work! I don't know the details of uSync's compatibility between u7 and u12 sadly, but I'm not ruling it out!
Just make sure to make backups! 🙂
n
ya usyc is my next bet
m
check out usync migration too.
2 Views