The following command configures RMAN to write disk backups to the /tmp directory:
RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/tmp/%U';
To undo the configuration of a default disk location for backups, use the following CONFIGURE command to clear the setting:
RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT CLEAR;