Configure the Default Temporary Folder
When you back up Linux Nodes, the default /tmp folder is used to store the required binary, temporary snapshot data, and debug logs. The /tmp folder must have enough empty space and the necessary permissions to execute the binaries. To change the default path on Linux Nodes, you can configure the server.env file and specify the new paths.
Follow these steps:
- Log into the Backup Server as a root user.
- Open the server.env file:
/opt/Arcserve/d2dserver/configfiles/server.env
Note: If the file is not present, create the server.env file.
- To configure the Linux Node agent execution path, add the following line in the server.env file:
export TARGET_BOOTSTRAP_DIR=<path>
Example: To deploy the Linux agent under the /d2dagent path, enter the following line:
export TARGET_BOOTSTRAP_DIR=/d2dagent
Note: By default, the agent is deployed and and executed under the /tmp folder.
- To configure the Linux Node debug log and temporary snapshot data store path, add the following line in the server.env file:
export TARGET_WORK_DIR=<path>
Example: To configure the debug logs and temporary snapshot data under /d2dagentlogs path, enter the following line:
export TARGET_WORK_DIR=/d2dagentlogs
Note: By default, the agent is deployed and executed under the /tmp folder.
- Restart the Backup Server.
/opt/Arcserve/d2dserver/bin/d2dserver restart
The default temporary folder is configured.