Home | Previous Page | Next Page   Environment Variables > Environment Variables >

DBREMOTECMD (UNIX)

Set the DBREMOTECMD environment variable to override the default remote shell to perform remote tape operations with the database server. You can set dbremotecmd to a simple command or to a full pathname.

Read syntax diagramSkip visual syntax diagram>>-setenv--DBREMOTECMD--+-command--+---------------------------><
                        '-pathname-'
 
command
is a command to override the default remote shell.
pathname
is a pathname to override the default remote shell.

If you do not specify the full pathname, the database server searches your PATH for the specified command. It is highly recommended that you use the full pathname syntax on interactive UNIX platforms to avoid problems with similarly named programs in other directories and possible confusion with the restricted shell (/usr/bin/rsh).

The following command sets DBREMOTECMD for a simple command name:

setenv DBREMOTECMD rcmd

The next command to set DBREMOTECMD specifies a full pathname:

setenv DBREMOTECMD /usr/bin/remsh

For more information on DBREMOTECMD, see the discussion in your IBM Informix: Archive and Backup Guide about how to use remote tape devices with your database server for archives, restores, and logical-log backups.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]