Changing the temp folder for the SPE Rest API
search cancel

Changing the temp folder for the SPE Rest API

book

Article ID: 379330

calendar_today

Updated On:

Products

Protection Engine for Cloud Services Protection Engine for NAS

Issue/Introduction

You seek to move the temp folder for the Symantec Protection Engine (SPE) RestAPI from /tmp to another location.

Environment

SPE 9.x installed on Linux

Resolution

Follow the steps below move the temp folder for the SPE RestAPI:

  1. From the Command Line Interface (CLI) navigate to the RestAPI folder:
    cd /<SPE_INSTALL_FOLDER>/RestAPI
  2. Make a backup of the application.properties file:
    cp application.properties application.properties.bak
  3. Open the original application.properties file in a text editor such as "vi"
  4. Add the following line under the "tomcat" section and save the file:
    server.tomcat.basedir=/path/to/folder
  5. Restart the SPE Rest API service:
    /etc/init.d/symcrestapiservice restart