The following RMAN commands configure compression using the MEDIUM algorithm
RMAN> CONFIGURE COMPRESSION ALGORITHM ‚MEDIUM‘;
RMAN> CONFIGURE DEVICE TYPE sbt BACKUP TYPE TO COMPRESSED BACKUPSET;
Backups must be in the form of backup sets not image copies