Stagingdirectory
The stagingdirectory option defines the location where the client can keep any data that it generates to perform its operations. The data is deleted when processing is complete.
This option is used during snapshot difference backup operations.
This option is used by Active Directory objects query and restore operations, and by snapshot difference backup. The client uses the stagingdirectory location for temporary files when the client processes files that were migrated with IBM Spectrum Protect™ HSM for Windows.
Supported Clients
This option is valid for Linux clients. The server can also define this option.
This option is valid for all Windows clients. The server can also define this option.
Options File
Place 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.
Place 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.
Parameters
- path
- Specifies 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).
- Specifies 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:
- The path that is specified by the TMP user variable
- The path that is specified by the TMP system variable
- The path that is specified by the TEMP user variable
- The path that is specified by the TEMP system variable
- The Windows system directory
In 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:
- stagingdirectory /usr/tsmdata
- stagingdirectory /private/tmp
- stagingdirectory c:\tsmdata
- Command line:
- -stagingdir="/tmp/tsmtempdata"
- -stagingdir="e:\tsmdata"