The following is our recommended approach for sharing content from your live Production account to you Staging account (Only relevant for when utilizing two different accounts), in order to allow testing your new features in a realistic environment.
Assuming you've cloned your Production database, and use it to reference images on your staging account, those images won't exist there obviously.
Using our upload-mapping feature you can create a mapping between a directory in your Staging account (e.g. the root directory '/') to another URL prefix (e.g. on the Production account 'http://res.cloudinary.com/<cloud-name-prod>/image/upload/').
This way, every non-existing image on your Staging account will be seamlessly and silently migrated from Production to Staging and delivered at your request.
This way you'll be both preserving the folder structure and retaining flexibility with the synchronization between the two accounts. Furthermore, your production account will stay untouched during the whole process.
At any point you can delete images from the Staging account if needed, this won't affect the Production account.
Great explanation, very helpful!
I would like to know the cost of doing this
It mostly depends on your account size and your usage of bandwidth and transformation. You could definitely use 2 completely different Free accounts to do it or if you want to have the 2 clouds under the same login, you will need to at least subscribe to the Plus plan.
If your account is small then 2 Free plans could work but the day you reached the Free plan limit, you will have to upgrade.
Hope that helps.
Please sign in to leave a comment.