Tuesday 22 January 2019

moving 700 images from old storage and database to aws S# and new database

I was tasked with rebuiliding a website built with laravel 5.1 which has around 700 images.Now I'm more of a frontend guy with some backend experience (both php and node), but i have very little experience with migrating existing data to new infrastructures.The only idea I've had so far was to create special migration endpoints to retrieve and process data into new infrastructure.I've tried it but i have issue with images, where either a very few error out (timeout or getaddrinfo ENOTFOUND) and always endup with more images than i should which i find baffling.​What are tried and tested workflows for what i'm trying to achieve?​EDIT:Little bit more about structure​{ "id": 850, "model_type": "App\\Models\\School", "model_id": 27, "collection_name": "gallery", "name": "Study Anywhere_Entrepreneur Education Gold Coast 2", "file_name": "Study Anywhere_Entrepreneur Education Gold Coast 2.jpg", "size": 143744, "manipulations": [], "temp": false, "order_column": null, "created_at": "2017-07-13 07:49:50", "updated_at": "2017-07-13 07:49:50" }, ​This is a sample entry from media table The id column specifies the name of directory where the file is stored. From what i've seen all are in .jpg

Submitted January 22, 2019 at 11:28PM by Leezorq

No comments:

Post a Comment