Monday, March 4, 2013

Steps to export and import WCM libraries


Export:


  1. Log in to the WAS Integration Solution Console using Administrator id.
  2. Go to Resources>Resource Environment>Resource Environment Providers
  3. Select WCM WCMConfigService > Custom Properties
  4. Update/Create the property "export.libraryname". Set the value as string containing library names separated by semi colon.Example: export.libraryname=library_1;library_2;library_3
  5. Go to directory /IBM/Websphere/wp_profile/ConfigEngine
  6. Enter command ./ConfigEngine.sh export-wcm-data -DWasPassword=password -DPortalAdminPwd=password -Dexport.directory=/home/user/exportdir -Dexport.singledirectory=true
Transfer the file
  1. Compress the above directory using the zip command: zip -r exportdir.zip /exportdir 
  2. Transfer the zip file to the target server
  3. Unzip it in some folder say /home/user/importdir
Import
  1. Ensure target server does not have same libraries created in it. If present kindly delete
  2. Go to /IBM/Websphere/wp_profile/ConfigEngine
  3. Enter command ./ConfigEngine.sh import-wcm-data -DWasPassword=password -DPortalAdminPwd=password -Dimport.directory=/home/user/importdir

This is suitable for Initial setup of Environment where we need to transfer bulky contents. For further updates kindly use Syndication.

1 comment:

  1. do you have any idea how to take content backup apart from exporting/importing libraries

    ReplyDelete