Managing NICE DCV Session storage
Session storage is a directory on the NICE DCV server that clients can access when they are connected to a NICE DCV session.
If session storage is enabled on the NICE DCV server, you can use the dcv set-storage-root
command to specify the directory on
the server to be used for session storage. For more information about enabling session storage on the NICE DCV server, see Enabling session storage.
To set the session storage path, use the dcv set-storage-root
command and specify the session ID and the path to the
directory to use.
Syntax
dcv set-storage-root --session
session_id
/path_to/directory
For the directory path, you can use %home%
to specify the home directory of the user who is currently signed in.
For example, the %home%/storage/
path resolves to c:\Users\
on Windows servers. It resolves to username
\storage\$HOME/storage/
on Linux servers.
Options
The following options can be used with the dcv set-storage-root
command
--session
-
The session ID for which to specify the storage directory.
Type: String
Required: Yes
Examples
Windows NICE DCV server example
The following example sets to storage path to c:\session-storage
for a session with a session ID of
my-session
.
C:\>
dcv set-storage-root --sessionmy-session c:\session-storage
Linux NICE DCV server example
The following example sets to storage path to a directory named session-storage
in the current user's home
directory, for a session with a session ID of my-session
.
$
dcv set-storage-root --sessionmy-session %home%/session-storage/