Export:
- Log in to the WAS Integration Solution Console using Administrator id.
- Go to Resources>Resource Environment>Resource Environment Providers
- Select WCM WCMConfigService > Custom Properties
- 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
- Go to directory /IBM/Websphere/wp_profile/ConfigEngine
- Enter command ./ConfigEngine.sh export-wcm-data -DWasPassword=password -DPortalAdminPwd=password -Dexport.directory=/home/user/exportdir -Dexport.singledirectory=true
Transfer the file
- Compress the above directory using the zip command: zip -r exportdir.zip /exportdir
- Transfer the zip file to the target server
- Unzip it in some folder say /home/user/importdir
Import
- Ensure target server does not have same libraries created in it. If present kindly delete
- Go to /IBM/Websphere/wp_profile/ConfigEngine
- 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.
do you have any idea how to take content backup apart from exporting/importing libraries
ReplyDelete