Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Migrate to s3 store from Azure file store
Hi Liferay geeks,
We are upgrading our portal from Liferay 7.0 to Liferay 7.4. With this upgrade we would like to migrate our document store to Azure to AWS s3. Can anyone guide how can we migrate documents from Azure file storage to S3 store.
Regards,
Hetal
You'll need to configure both Stores (naturally, first the one you're already running on...).
When both are configured, you can find the target in Control Panel / System / Server Administration / Data Migration.
Migrate the data, shut down the system, configure the target as the new active store and start up again.
Or just check the documentation.
Hi Olaf,
Thanks for the quick reply.
In 7.0 we are using advanced File system store, so db upgrade to 7.4 will be done with Advanced File system store.
Once db is upgraded, we need to put s3 store configuration in osgi/config folder and db.store.impl will still be advancedfilestore. Start data migration with empty s3 bucket.
It will migrate all the file in s3 store and now our document is converted to s3 store from Adavnced File store.
Now I can change the dl.store.impl property to s3 store and restart liferay and verify my documents.
Correct me if my understanding is wrong.
Regards,
Hetal Prajapati
That sounds right. If I remember correctly, the S3 store is there for quite a while, so you could also change the order and migrate the store before the upgrade, but that's up to your choice.
Powered by Liferay™