
Morgado asked a question.
I am working on a migration of SLM from hosted platform (SPE) to on-prem environment and I want to keep the documents attached. However to simplify the migration process I dont want to migrate the databases but only an export\import solution for contract\licenses and then start a fresh env.
Of course doing that will not save the attachments\documents. I can export all documents (going to Reports\All Licenses\3dots- Documents) but they are not linked to a license\contract id. It means I would need to rely on the document name which sometimes is no accurate to attach it later to the correct contract\license.
Any idea how to do this without spend days matching the documents? Is not possible to get for each document\attachment the corresponding license\contract id?
Thanks a lot.
Hi @Samuel Baughan @Gemma Taylor @Mark Walther , any insight on this topic? :) would be much appreciated.
That is a nice project!!!!
The exact steps will depend on 1) if your files are nicely stored or in a mess (will impact the complexity) and 2) whether your DB has been fed with documents uploaded to the DB or just links pointing to a folder structure. We use links to save some DB space ... yeah, we have tons of licenses 😅
My recommendation would be to do like we do here: having a folder for each License named after the LicenseID ... it is a constraint and takes some time but it pays off in situations like yours😎 .
If you do that I would recommend that you have a routine in place to clean those files/folders (delete any folder belonging to a LicenseID that is no more in Snow) ... We still have to work on that last bit here 😁
You have nice evenings/weekends ahead of you! Let us know how that goes
Hi @Gonçalo Morgado , i and some of my colleagues did those migrations before. Used SQL / TSQL using this approach http://www.jitendrazaa.com/blog/sql/sqlserver/export-documents-saved-as-blob-binary-from-sql-server/ . @Samuel Baughan pointed out some of the points. Tricky part is to have some kind of identifier to map the old licenseids and the new one, like a customer field or the externalID field (if not used already) what need to be filled during the license import. Than u can map the files correctly in the next steps.
Cheers Oli