Is that possible content library from one datastore to other ?
My content library hs been resided on datastore1 that contain more than 10 iso file and more than 50 template now I had to remove his datastore How can migrate content library from datastore1 to datastore2 ?
BR
You can create another local Content Library and use PowerCLI cmdlet "Copy-ContentLibraryItem" in order to copy items.
For example:
$item = Get-ContentLibraryItem -Name 'CentOS-7-x86_64-Minimal-1908' -ContentLibrary 'FirtstContentLibrary'
$library = Get-ContentLibrary -Name 'SecondContentLibray' -Local
Copy-ContentLibraryItem -ContentLibraryItem $item -Destination $library
Please see whether lamw07's reply at https://www.reddit.com/r/vmware/comments/5z23gb/move_content_library/ works for you.
André
Thanks. This is a good solution , just after replication between two CL finished and I will delete first CL and Is that possible change the role of second CL from subscribe to Local ?
BR
After sync between two CL we had to remove CL1 and change CL2 role from subscribe to local and this change is not possible.
You can create another local Content Library and use PowerCLI cmdlet "Copy-ContentLibraryItem" in order to copy items.
For example:
$item = Get-ContentLibraryItem -Name 'CentOS-7-x86_64-Minimal-1908' -ContentLibrary 'FirtstContentLibrary'
$library = Get-ContentLibrary -Name 'SecondContentLibray' -Local
Copy-ContentLibraryItem -ContentLibraryItem $item -Destination $library
