Back up WebSphere Portal
The following is an example of how to backup up WebSphere Portal file systems, Installation Manager, and DB configuraiton. This not the only method, merely one that has worked for me.
Before starting, verify there is enough space...
cd /opt/IBM
du -gs WebSphere
du -gs WebSphere1
df -kExecute backup script...
### backup.sh ### ### Backup file system cd /opt/IBM cd /opt/IBM/WebSphere1/wp_profile/bin ./stopServer.sh WebSphere_Portal -username wpsadmin -password foo cd /opt/IBM/WebSphere1/AppServer/bin ./stopNode.sh -username wpsadmin -password foo cd /opt/IBM/WebSphere/AppServer/bin ./stopManager.sh -username wpsadmin -password foo cd /opt/IBM tar cvf WebSphere.tar WebSphere gzip WebSphere.tar tar cvf WebSphere1.tar WebSphere1 gzip WebSphere1.tar ### Backup Installation Manager Configuration ### ### Only need to execute before applying fixes ### #tar cvf InstallationManager.tar /var/ibm/InstallationManager #gzip InstallationManager.tar #tar cvf IMShared.tar IMShared #gzip IMShared.tar cd /opt/IBM/WebSphere/AppServer/bin ./startManager.sh cd /opt/IBM/WebSphere1/AppServer/bin ./startNode.sh cd /opt/IBM/WebSphere1/wp_profile/bin ./startServer.sh WebSphere_Portal ### Backup Portal DB configuration ### ### Only need to execute before portal DB changes ### cd /opt/IBM/WebSphere1/wp_profile/PortalServer/bin ### Backup base portal ./xmlaccess.sh -user wpsadmin \ -password foo \ -url http://hostname.myco.com:10039/wps/config \ -in /opt/IBM/WebSphere1/PortalServer/doc/xml-samples/Export.xml \ -out /home/wpsadmin/ExportBase.xml ### Backup virtual portal ./xmlaccess.sh -user wpsadmin \ -password foo \ -url http://hostname.myco.com:10039/wps/config/my-vp \ -in /opt/IBM/WebSphere1/PortalServer/doc/xml-samples/Export.xml \ -out /home/wpsadmin/ExportVP.xml