{"id":798,"date":"2023-11-23T21:56:49","date_gmt":"2023-11-23T21:56:49","guid":{"rendered":"https:\/\/test.samplewebsitelink.com\/ordba\/?p=798"},"modified":"2023-11-23T21:56:51","modified_gmt":"2023-11-23T21:56:51","slug":"rman-duplicating-cdbs-and-pdbs","status":"publish","type":"post","link":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/","title":{"rendered":"RMAN Duplicating CDBs And PDBs"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Duplicating CDBs and PDBs<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;(source Oracle Docs)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use the DUPLICATE command to duplicate CDBs, one or more PDBs, sparse CDBs, and sparse PDBs. The steps to duplicate CDBs and PDBs are similar to those of duplicating non-CDBs with minor variations to the procedure for duplicating a non-CDB. This section describes how to duplicate CDBs and PDBs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1. Duplicating CDBs<br>Use the DUPLICATE command to duplicate CDBs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Duplicating a whole CDB or one or more PDBs requires only minimal adjustments to the procedure for duplicating a non-CDB, as described in &#8220;Duplicating the Whole Database&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To duplicate a CDB:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">While planning to Duplicate a Database:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use the PLUGGABLE DATABASE syntax of the BACKUP command to copy only the backups of a specific PDB.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following command transfers the backup files for the entire CDB:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">BACKUP COPY OF DATABASE;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following command transfers only the backup files for the PDB pdb3:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">BACKUP COPY OF PLUGGABLE DATABASE pdb3;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ensure that the prerequisites for the selected duplication technique are met.<br>Prepare the auxiliary instance, as described in &#8220;Preparing the Auxiliary Instance&#8221;, with the following changes:<br>We must create the auxiliary instance as a CDB. To do so, start the instance with the following declaration in the initialization parameter file:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">enable_pluggable_database=TRUE<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When instructed to create an initialization parameter file for the auxiliary instance, we must copy the file from the source database. This ensures that the auxiliary instance is also a CDB. After we copy the file, perform the following steps:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Modify the DB_NAME parameter<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Modify the various destination or location parameters<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When instructed to connect to the necessary instances, connect to the root as a user with SYSDBA or SYSBACKUP privilege. On both instances, the password for the user performing the duplication must be the same.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Start RMAN and connect to the root as a user with the SYSDBA or SYSBACKUP privilege.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On both the auxiliary instance and the target database, the password for the user performing the duplication must be the same.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Place source database in a proper state, if necessary, as described in &#8220;Placing the Source Database in a Proper State&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Configure RMAN channels, if necessary, as described in &#8220;Configuring RMAN Channels for Use in Duplication&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The primary task of duplication is performed by RMAN channels. Configuring additional channels improves the duplication performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use the DUPLICATE command to duplicate the source CDB.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Duplicating Sparse CDBs<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use the DUPLICATE command to duplicate sparse CDBs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To duplicate a sparse CDB:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Complete the planning tasks:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use the PLUGGABLE DATABASE syntax of the BACKUP command to copy only the backups of a specific PDB.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following command transfers the backup files for the entire CDB:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">BACKUP COPY OF DATABASE;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following command transfers only the backup files for the PDB pdb3:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">BACKUP COPY OF PLUGGABLE DATABASE pdb3;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ensure that the prerequisites for the selected duplication technique are met.<br>Prepare the auxiliary instance:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">we must create the auxiliary instance as a CDB. To do so, start the instance with the following declaration in the initialization parameter file:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">enable_pluggable_database=TRUE<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When instructed to create an initialization parameter file for the auxiliary instance, we must copy the file from the source database.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This ensures that the auxiliary instance is also a CDB.&nbsp;<br>After we copy the file, perform the following steps:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Modify the DB_NAME parameter<br>Modify the various destination\/location parameters<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When instructed to connect to the necessary instances, connect to the root as a user with SYSDBA or SYSBACKUP privilege.&nbsp;<br>On both instances, the password for the user performing the duplication must be the same.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Start RMAN and connect to the root as a user with the SYSDBA or SYSBACKUP privilege.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On both the auxiliary instance and the target database, the password for the user performing the duplication must be the same.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Place the source database in a proper state.<br>The primary task of duplication is performed by RMAN channels. Configuring additional channels improves the duplication performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Run the DUPLICATE command with the FROM SPARSE option.<br>For example, the following command duplicates the CDB on to cdb2:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">DUPICATE FROM SPARSE TO cdb2 DATABASE;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. Duplicating PDBs<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">we can duplicate a PDB to a new multitenant container database (CDB) or an existing CDB.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">a. Duplicating PDBs &#8211;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp;1. we can duplicate a single PDB, a set of PDBs, or a set of tablespaces within a PDB by using the DUPLICATE command.<br>&nbsp;&nbsp; &nbsp;2. To duplicate PDBs, we must log in to the root of the CDB as a user with the SYSDBA or SYSBACKUP privilege.&nbsp;<br>&nbsp;&nbsp; &nbsp;3. When duplicating a PDB to a new CDB, we must create the auxiliary instance as a CDB.&nbsp;<br>&nbsp;&nbsp; &nbsp;4. To do so, start the auxiliary instance with the declaration enable_pluggable_database=TRUE in the initialization &nbsp;&nbsp; &nbsp; &nbsp; parameter file.<br>&nbsp;&nbsp; &nbsp;5. When we duplicate one or more PDBs, RMAN also duplicates the root (CDB$ROOT) and the CDB seed (PDB$SEED).&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; 6. The resulting duplicate database is a fully functional CDB that contains the root, the CDB seed, and the duplicated &nbsp;&nbsp; &nbsp; &nbsp; PDBs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. Techniques for Duplicating PDBs<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Technique&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Description&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Additional Information<br>Duplicate a PDB to an existing CDB&nbsp;&nbsp; &nbsp;To duplicate a PDB into&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;an existing CDB, use the&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;DUPLICATE PLUGGABLE DATABASE&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;pdb_name TO cdb_name syntax.&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Here, cdb_name is the name&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;of an existing CDB.&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Duplicating a PDB to an Existing CDB<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Duplicate specified PDBs&nbsp;<br>to a new CDB&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Use one of the following&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;techniques:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;a. Duplicate the specified PDBs&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; to a new CDB by using the&nbsp;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; following syntax:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;DUPLICATE DATABASE TO cdb_name&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;PLUGGABLE DATABASE pdb_name;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;b. Use a comma-delimited list to&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; duplicate multiple PDBs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Duplicate all the PDBs,&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;except the PDBs specified by pdb_name,&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;to a new CDB by using the&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;following syntax:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;DUPLICATE DATABASE TO cdb_name&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;SKIP PLUGGABLE DATABASE pdb_name<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Use a comma-delimited list to&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;specify multiple PDBs that&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;must be excluded.&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Duplicating a PDB to a New CDB<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Duplicate specified tablespaces&nbsp;<br>within a PDB to a new CDB&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Use one of the following techniques:<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;a. Duplicate specified tablespaces&nbsp;<br>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; within a PDB to a new CDB&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; by using the following syntax:<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;DUPLICATE DATABASE TO cdb_name&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;TABLESPACE pdb_name:tablespace_name;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;The tablespace name must be prefixed&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;with the name of the PDB that contains&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;the tablespace.&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;If we omit the name of the PDB,&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;root is taken as the default.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;b. Duplicate all tablespaces in the&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; CDB except the specified tablespaces&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; to a new CDB by using the following&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; syntax:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;c. DUPLICATE DATABASE TO cdb_name&nbsp;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; SKIP TABLESPACE pdb_name:tablespace_name<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Duplicating Tablespaces Within a PDB to a New CDB<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>5. Limitation and Restrictions on Duplicating a PDB to an Existing CDB<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Duplicating a PDB to an existing CDB is subject to certain restrictions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp;1. Only active database duplication is supported.<br>&nbsp;&nbsp; &nbsp;2. Only the following clauses of the DUPLICATE command are supported:&nbsp;<br>&nbsp;&nbsp; &nbsp; &nbsp; a. NORESUME,&nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; b. DB_FILE_NAME_CONVERT,&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;c. SECTION SIZE, and&nbsp;<br>&nbsp;&nbsp; &nbsp; &nbsp; d. USING COMPRESSED BACKUPSET.<br>&nbsp;&nbsp; &nbsp;3. The following clauses of the DUPLICATE command are not supported:&nbsp;<br>&nbsp;&nbsp; &nbsp; &nbsp; a. SPFILE,&nbsp;<br>&nbsp;&nbsp; &nbsp; &nbsp; b. NO STANDBY,&nbsp;<br>&nbsp;&nbsp; &nbsp; &nbsp; c. FARSYNC STANDBY, and&nbsp;<br>&nbsp;&nbsp; &nbsp; &nbsp; d. LOG_FILE_NAME_CONVERT.<br>&nbsp;&nbsp; &nbsp;4. Duplicating a PDB to a CDB that is a standby database is not supported.<br>&nbsp;&nbsp; &nbsp;5. Only one PDB can be duplicated at a time.<br>&nbsp;&nbsp; &nbsp;6. Partial PDB duplication is not supported, only complete PDB duplication is supported.&nbsp;<br>&nbsp;&nbsp; &nbsp; &nbsp; For example, we cannot include or exclude specific tablespaces while duplicating a PDB.<br>&nbsp;&nbsp; &nbsp;7. Duplicating a non-CDB as a PDB in an existing CDB is not supported.<br>&nbsp;&nbsp; &nbsp;8. Duplicating PDBs that contain TDE-encrypted tablespaces is not supported.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">6. Duplicating a PDB to an Existing CDB<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use the DUPLICATE command to duplicate a PDB to an existing CDB.<br>To duplicate a PDB to an existing CDB:<br>&nbsp;&nbsp; &nbsp;a. Ensure that the required prerequisites are met. This includes the following:<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; i. Prerequisites for active database duplication<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;ii. Additional prerequisites for duplicating a PDB to an existing CDB<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;a. limitations of duplicating a PDB to an existing CDB<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;b. Choose a strategy for naming duplicate database files<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;c. Create the directories that store the duplicate database files on the destination CDB<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;d. Establish Oracle net connectivity between the source CDB and the destination CDB<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;e. Start RMAN and make the following connections:<br>Connect AS TARGET to the root of the source CDB as a common user with the SYSDBA or SYSBACKUP privilege.<br>Connect AS AUXILIARY to the root of the destination CDB as a common user with the SYSDBA or SYSBACKUP privilege.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To duplicate multiple PDBs,&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">a. use a separate RMAN session for each PDB duplication.<br>b. Ensure that the destination CDB is open in read-write mode.<br>c. Configure RMAN channels.<br>d. The primary task of duplication is performed by RMAN channels.&nbsp;<br>e. Configuring additional channels improves the duplication performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">7. Duplicate the PDB by using the DUPLICATE PLUGGABLE DATABASE command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following command duplicates the PDB mypdb to an existing CDB cdb_sales.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">DUPLICATE PLUGGABLE DATABASE mypdb TO cdb_sales<br># DUPLICATE PLUGGABLE DATABASE mypdb AS pdb_dup TO cdb_sales &nbsp;&#8211; duplicate pdb to a different name<br>DB_FILE_NAME_CONVERT(&#8216;cdb1&#8242;,&#8217;pdb1&#8217;)<br>FROM ACTIVE DATABASE&nbsp;<br>SECTION SIZE 400M;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Delete the foreign archived redo log files that were restored to the location specified by the&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">remote_recovery_file_dest initialization parameter as part of the duplication.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Duplicating a PDB to an existing CDB is supported starting with Oracle Database Release 18c.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example: Duplicating a PDB to an Existing CDB by Using Active Duplication<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">8. Duplicating a PDB to a New CDB<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use the DUPLICATE command to duplicate one or more PDBs to a new CDB.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To duplicate a PDB to a new CDB:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">a. Complete Planning Tasks to Duplicate a Database<br>b. Making Backups Accessible to the Duplicate Instance<br>c. Making Disk Backups Accessible Without Shared Disk<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use the PLUGGABLE DATABASE syntax of the BACKUP command to copy only the backups of a specific PDB.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following command transfers only the backups files for the PDB pdb3:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">BACKUP COPY OF PLUGGABLE DATABASE pdb3;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">a. Ensure that the prerequisites for the selected duplication technique are met<br>b. Prepare the auxiliary instance with the following changes:<br>&nbsp;&nbsp; &nbsp; i. we must create the auxiliary instance as a CDB.&nbsp;<br>&nbsp;&nbsp; &nbsp;ii. To do so, start the instance with the following declaration in the initialization parameter file:<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;enable_pluggable_database=TRUE<br>&nbsp; &nbsp; &nbsp; &nbsp;iii. When instructed to create an initialization parameter file for the auxiliary instance, we must copy the file from &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;the source database.&nbsp;<br>&nbsp;&nbsp; &nbsp;iv. This ensures that the auxiliary instance is also a CDB.&nbsp;<br>&nbsp;&nbsp; &nbsp; v. After we copy the file, perform the following steps:<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;a. Modify the DB_NAME parameter<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;b. Modify the various destination\/location parameters<br>&nbsp; &nbsp; &nbsp; &nbsp; vi. When instructed to connect to the necessary instances, connect to the root as a user with SYSDBA or SYSBACKUP &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;privilege.&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp;vii. On both instances, the password for the user performing the duplication must be the same.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">c. Start RMAN and connect to the root as a user with the SYSDBA or SYSBACKUP privilege.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">d. On both the auxiliary instance and the target database, the password for the user performing the duplication must be the &nbsp; &nbsp;same.<br>e. Place source database in proper state.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">f. Configure RMAN channels.The primary task of duplication is performed by the RMAN channels.&nbsp;<br>g. Configuring additional channels improves the duplication performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">9. Duplicate the PDB by using the DUPLICATE \u2026 PLUGGABLE DATABASE command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Examples: Duplicating PDBs<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp;a. To duplicate the PDB pdb1 to the CDB cdb1, use the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp; &nbsp; DUPLICATE DATABASE TO cdb1 PLUGGABLE DATABASE pdb1;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp;b. To duplicate the PDBs pdb1, pdb3, and pdb4 to the database cdb1, use the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp; &nbsp; DUPLICATE DATABASE TO cdb1 PLUGGABLE DATABASE pdb1,pdb3,pdb4;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp;c. To duplicate all the PDBs in the CDB, except the PDB pdb3, use the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp; &nbsp; DUPLICATE DATABASE TO cdb1 SKIP PLUGGABLE DATABASE pdb3;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Duplicating CDBs and PDBs&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;(source Oracle Docs) Use the DUPLICATE command to duplicate CDBs, one or more PDBs, sparse CDBs, and sparse PDBs. The steps to duplicate CDBs and PDBs are similar to those of duplicating non-CDBs with minor variations to the procedure for duplicating a non-CDB. &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/\"> <span class=\"screen-reader-text\">RMAN Duplicating CDBs And PDBs<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":415,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[17],"tags":[],"class_list":["post-798","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rman-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>RMAN Duplicating CDBs And PDBs - Ordba<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"RMAN Duplicating CDBs And PDBs - Ordba\" \/>\n<meta property=\"og:description\" content=\"&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Duplicating CDBs and PDBs&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;(source Oracle Docs) Use the DUPLICATE command to duplicate CDBs, one or more PDBs, sparse CDBs, and sparse PDBs. The steps to duplicate CDBs and PDBs are similar to those of duplicating non-CDBs with minor variations to the procedure for duplicating a non-CDB. &hellip; RMAN Duplicating CDBs And PDBs Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/\" \/>\n<meta property=\"og:site_name\" content=\"Ordba\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-23T21:56:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-23T21:56:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/test.samplewebsitelink.com\/ordba\/wp-content\/uploads\/2023\/11\/rmantutorials.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"877\" \/>\n\t<meta property=\"og:image:height\" content=\"466\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"ordba\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ordba\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/\",\"url\":\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/\",\"name\":\"RMAN Duplicating CDBs And PDBs - Ordba\",\"isPartOf\":{\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#website\"},\"datePublished\":\"2023-11-23T21:56:49+00:00\",\"dateModified\":\"2023-11-23T21:56:51+00:00\",\"author\":{\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/7365beabb32b7aa77cf0e890ee90ea0f\"},\"breadcrumb\":{\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/test.samplewebsitelink.com\/ordba\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"RMAN Duplicating CDBs And PDBs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#website\",\"url\":\"https:\/\/test.samplewebsitelink.com\/ordba\/\",\"name\":\"Ordba\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/test.samplewebsitelink.com\/ordba\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/7365beabb32b7aa77cf0e890ee90ea0f\",\"name\":\"ordba\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/dd4335bb4e225c36ce7c56a0aff84bb202ebb523ebdc5d1e1a11cc3f3e6085f3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/dd4335bb4e225c36ce7c56a0aff84bb202ebb523ebdc5d1e1a11cc3f3e6085f3?s=96&d=mm&r=g\",\"caption\":\"ordba\"},\"sameAs\":[\"https:\/\/test.samplewebsitelink.com\/ordba\"],\"url\":\"https:\/\/test.samplewebsitelink.com\/ordba\/author\/ordba\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"RMAN Duplicating CDBs And PDBs - Ordba","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/","og_locale":"en_US","og_type":"article","og_title":"RMAN Duplicating CDBs And PDBs - Ordba","og_description":"&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Duplicating CDBs and PDBs&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;(source Oracle Docs) Use the DUPLICATE command to duplicate CDBs, one or more PDBs, sparse CDBs, and sparse PDBs. The steps to duplicate CDBs and PDBs are similar to those of duplicating non-CDBs with minor variations to the procedure for duplicating a non-CDB. &hellip; RMAN Duplicating CDBs And PDBs Read More &raquo;","og_url":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/","og_site_name":"Ordba","article_published_time":"2023-11-23T21:56:49+00:00","article_modified_time":"2023-11-23T21:56:51+00:00","og_image":[{"width":877,"height":466,"url":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-content\/uploads\/2023\/11\/rmantutorials.jpg","type":"image\/jpeg"}],"author":"ordba","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ordba","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/","url":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/","name":"RMAN Duplicating CDBs And PDBs - Ordba","isPartOf":{"@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#website"},"datePublished":"2023-11-23T21:56:49+00:00","dateModified":"2023-11-23T21:56:51+00:00","author":{"@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/7365beabb32b7aa77cf0e890ee90ea0f"},"breadcrumb":{"@id":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-cdbs-and-pdbs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/test.samplewebsitelink.com\/ordba\/"},{"@type":"ListItem","position":2,"name":"RMAN Duplicating CDBs And PDBs"}]},{"@type":"WebSite","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#website","url":"https:\/\/test.samplewebsitelink.com\/ordba\/","name":"Ordba","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/test.samplewebsitelink.com\/ordba\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/7365beabb32b7aa77cf0e890ee90ea0f","name":"ordba","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/dd4335bb4e225c36ce7c56a0aff84bb202ebb523ebdc5d1e1a11cc3f3e6085f3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dd4335bb4e225c36ce7c56a0aff84bb202ebb523ebdc5d1e1a11cc3f3e6085f3?s=96&d=mm&r=g","caption":"ordba"},"sameAs":["https:\/\/test.samplewebsitelink.com\/ordba"],"url":"https:\/\/test.samplewebsitelink.com\/ordba\/author\/ordba\/"}]}},"_links":{"self":[{"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/posts\/798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/comments?post=798"}],"version-history":[{"count":1,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/posts\/798\/revisions"}],"predecessor-version":[{"id":799,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/posts\/798\/revisions\/799"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/media\/415"}],"wp:attachment":[{"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/media?parent=798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/categories?post=798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/tags?post=798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}