Plugin - cws-khuntly/WebSphere GitHub Wiki
date: 2025-05-08 15:29:11 created: 2025-05-08 15:29:06 categories:
- WebSphere / Backups
Create backup date variable:
declare -x BACKUP_DATE_STAMP=$(date +"%d-%m-%Y_%H-%M-%S")
Export the environment variable:
declare -x ENV=XXX
Create the backup directory:
mkdir -pv /nfs/backups/${ENV}/${HOSTNAME}/Plugin
Back up the full WebSphere filesystem:
tar -C /opt/IBM/WebSphere -cvf - ./Plugins | gzip > /nas/pportal_backups/${ENV}/${HOSTNAME}/Plugin/WebSphere-full-backup-${POST_PROCESS_NAME}-${BACKUP_DATE_STAMP}.tar.gz