Customization Toolkit - cws-khuntly/WebSphere GitHub Wiki
date: 2025-05-08 15:29:05 created: 2025-05-08 15:28:57 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/backup/${ENV}/Toolbox
Back up the full WebSphere filesystem:
tar -C /opt/IBM/WebSphere -cvf - ./Toolbox| gzip > /nfs/backup/${ENV}/Toolbox/WebSphere-full-backup-${POST_PROCESS_NAME}-${BACKUP_DATE_STAMP}.tar.gz