Password authentication

If you are using a password file, the network connection to the target is made as shown in the following example. Note the use of a net service name for both connections.

$ rman

Recovery Manager: Release 9.0.1.0.0 - Production

RMAN> connect target / sys/namstay@brdstn 

RMAN-06005: connected to target database: BRDSTN (DBID=3662736385)

RMAN> connect catalog rmancat/sholay@brdstnrc

RMAN-06008: connected to recovery catalog database

It doesn’t matter whether you connect to the target or the catalog first, as long as you connect to both before issuing any other RMAN commands.

Get Oracle RMAN Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.