Linux operating systemsWindows operating systems

Stagingdirectory

The stagingdirectory option defines the location where the client stores any data that it generates to perform its operations. The data is deleted when processing is complete.

Windows operating systemsThe client uses the stagingdirectory location for Active Directory object query and restore operations. The client also uses the stagingdirectory location for temporary files when the client processes files that were migrated with IBM Spectrum Protect™ HSM for Windows.

Important: Starting with Version 8.1.2, the snapdiffchangelogdir option is used to specify the location to store change logs for snapshot differential backup operations. The stagingdirectory option is no longer used for this purpose. For more information, see Snapdiffchangelogdir.

Supported Clients

Linux operating systemsThis option is valid for Linux clients. The server can also define this option.

Windows operating systemsThis option is valid for all Windows clients. The server can also define this option.

Options File

Linux operating systemsPlace this option in the client options file (dsm.opt). When stagingdirectory is specified on the command line, it overrides the values that are specified in the options file.

Windows operating systemsPlace this option in the client options file (dsm.opt). When stagingdirectory is specified on the command line, it overrides the values that are specified in the options file.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-STAGINGDIRectory--path--------------------------------------><

Parameters

path
Linux operating systemsSpecifies the directory path where the client writes staging data. If you do not specify a staging directory, the client stores temporary data in the temporary file system (typically /tmp).
Windows operating systemsSpecifies the directory path where the client writes staging data. If you do not specify a staging directory, the client checks for the existence of the USER environment variables in the following order, and uses the first path found:
  1. The path that is specified by the TMP user variable.
  2. The path that is specified by the TMP system variable.
  3. The path that is specified by the TEMP user variable.
  4. The path that is specified by the TEMP system variable.
  5. The Windows system directory.
Windows operating systemsIn Uniform Naming Convention (UNC) format, the path must contain a drive letter. In the following UNC format example, the path contains the drive letter D$:
\\computer7\D$\temp\tsmstaging

Examples

Options file:
Linux operating systemsstagingdirectory /usr/tsmdata
Linux operating systemsstagingdirectory /private/tmp
Windows operating systemsstagingdirectory c:\tsmdata
Command line:
Linux operating systems-stagingdir="/tmp/tsmtempdata"
Windows operating systems-stagingdir="e:\tsmdata"