$SPECROOT/custom dir in Spectrum Dockerization Upgrade
search cancel

$SPECROOT/custom dir in Spectrum Dockerization Upgrade

book

Article ID: 144062

calendar_today

Updated On:

Products

CA eHealth CA Spectrum

Issue/Introduction

Environment

Release : 10.4

Component : Spectrum Core / SpectroSERVER

Resolution

In 10.4 and above releases, we already are saving the custom folders.
In container, under "/"(root dir) as part following backup.sh file, you can see the following snippet of code which gets called during container termination:
cp -r /usr/Spectrum/custom /data/${PERSISTENT_LOCATION} 
 
So basically, before a container terminates, we call the "prestop hook" which in turn calls backup.sh and copies the customizations.