How to migrate a Content Library from a datastore to another
book
Article ID: 389763
calendar_today
Updated On:
Products
VMware vCenter Server
Issue/Introduction
This article has the instructions on how to move the objects of a Content Library from a datastore to another since there is no direct method of storage migration of those objects.
Environment
vSphere all versions.
Cause
This action is necessary when the Content Library is stored in a datastore that is reaching it's capacity limit and has no option to expand hence needs to free up space.
Resolution
Create a new Content Library in the destination new datastore (adjust it to have the same settings than the old one).
Select the old content library and select all the items showing in the "VM Templates" "OVF & OVA Templates" and "Other Types".
Right click on selected items and choose "Clone Item"
Choose the new created Content Library as destination of the items.
Wait until all the items are copied.
Rename the old content library to anything else.
Rename the new content library to the name to be used like the old one.
Validate the new content library can be used successfully.
Delete the old content library.
Additional Information
Note: This process will create a new content library ID, hence any solutions that require the specific ID instead of the name of the content library must be adjusted to the new content library ID.