Removing files that are backed up during hot fix installation


You can remove files that are backed up during a hot fix installation in order to do the following:

Table of Contents

Background

When you apply hot fixes, files that are being replaced can be backed up in two general locations:

Note: Hot fix backup files will always be stored under the installs directory and will contain the hot-fix ID as part of the directory name. 

SASHome/SASFoundation Product Directory Backups

SAS® Foundation products that are installed in the SASHome/SASFoundation directory contain files that are backed up in the SASFoundation directory.

Example

Here is a specific example: Hot Fix I9R144 is installed in the /opt/SAS/SASFoundation directory. Backups that are saved during the hot fix installation process are located in the
/opt/SAS/SASFoundation/9.4/installs/base_lax_9.4_M7_HFI9R144/SASHome 
directory.

 

Product-Specific Directory Backups

Products that are installed directly in the SASHome directory contain files that are backed up in the product-specific directory. 

Example

Here is a specific example: Hot Fix K9Z001 is installed in the /opt/SAS/SASSecureJava directory. Backups that are saved during the hot fix installation process are located in the 
/opt/SAS/SASSecureJava/9.4/installs/securejava_lax_9.4_M7_HFK9Z001/SASHome 
directory
.

Removing Backup Files after Hot Fix Installation

Note: After you have installed the hot fix and are confident that it will not need to be reverted, you can safely remove the backup directories as described here. It is important to be confident in the hot fix installation before removing files because, once they are removed, the associated hot fixes updates cannot be rolled back.

In the examples above, remove only the SASHome directory under the installs directory. For example, you could remove the SASHome directory in either of these locations:

/opt/SAS/SASFoundation/9.4/installs/base_lax_9.4_M7_HFI9R144/

/opt/SAS/SASSecureJava/9.4/installs/securejava_lax_9.4_M7_HFK9Z001/

Important Notes

It is important to be aware of these notes:

If you are removing backups to be in compliance with security scan reports, you can remove the backup directories as described above or you can remove only the vulnerable files reported in the security scans in the locations described above.