Your production database is running in archivelog mode. You use RMAN with a recovery catalog to back up your database to media and the database is uniquely identified in the recovery catalog.You want to create a test database from the production database and allow the production database to remain open during the duplicate process. You restore the database backups to a new host with the same directory structure as the production database and want to use the recovery catalog for future backups after the database is successfully restored to the new host.How would you achieve this?Reference https://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmdupdb.htm#CHDGFABD
Question:
How would you achieve this?
Options:
by using the RMAN switch command to set the new location for the data files
by using the RMAN duplicate command with no filename check to recover the database to the new host
by using the RMAN duplicate command with dbid and set nekname for tablespace to recover the database to the new host
by creating a new database in the new host, and then using the RMAN recover command
Correct Answer
The Correct Answer for this Question is
by using the RMAN duplicate command with no filename check to recover the database to the new host