{"id":800,"date":"2023-11-23T21:58:02","date_gmt":"2023-11-23T21:58:02","guid":{"rendered":"https:\/\/test.samplewebsitelink.com\/ordba\/?p=800"},"modified":"2023-11-23T21:58:04","modified_gmt":"2023-11-23T21:58:04","slug":"rman-duplicating-sparse-pdbs","status":"publish","type":"post","link":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-sparse-pdbs\/","title":{"rendered":"RMAN Duplicating Sparse PDBs"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Duplicating Sparse PDBs<br>&nbsp;&nbsp; &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 sparse pluggable databases (PDBs).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To duplicate a sparse PDB:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Complete the planning tasks described<br>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\">For example, 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\">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, you must copy the file from the source database. This ensures that the auxiliary instance is also a CDB. After copying, 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\/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.<br>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\">Optionally Configure RMAN channels to improve duplication performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Run the DUPLICATE command with the PLUGGABLE DATABASE and FROM SPARSE options.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To duplicate PDB pdb1 to CDB cdb2, run the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">DUPLICATE FROM SPARSE to cdb2 PLUGGABLE DATABASE pdb1;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note:The base (read-only) data files in a sparse database are not encrypted. Ensure that the base data files are stored in a protected storage and accessed using secured communications.<\/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\">You can duplicate one or more tablespaces within a PDB to a new CDB by using the DUPLICATE command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To duplicate tablespaces within a PDB:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ensure that you have completed Steps 1 to 4 in Duplicating a PDB to a New CDB.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Run the DUPLICATE command with the TABLESPACE option described in About Duplicating PDBs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following are some examples of duplicating tablespaces that are contained in PDBs:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To duplicate the users tablespace that is part of PDB pdb1, use the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">DUPLICATE DATABASE TO cdb1 TABLESPACE pdb1:users;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To duplicate the PDB pdb1 and the users tablespace in PDB pdb2, use the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">DUPLICATE DATABASE TO cdb1 PLUGGABLE DATABASE pdb1 TABLESPACE pdb2:users;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Duplicating Sparse PDBs&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; (Source: Oracle Docs) Use the DUPLICATE command to duplicate sparse pluggable databases (PDBs). To duplicate a sparse PDB: Complete the planning tasks describedUse the PLUGGABLE DATABASE syntax of the BACKUP command to copy only the backups of a specific PDB. For example, &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-sparse-pdbs\/\"> <span class=\"screen-reader-text\">RMAN Duplicating Sparse 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-800","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 Sparse 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-sparse-pdbs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"RMAN Duplicating Sparse PDBs - Ordba\" \/>\n<meta property=\"og:description\" content=\"&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Duplicating Sparse PDBs&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; (Source: Oracle Docs) Use the DUPLICATE command to duplicate sparse pluggable databases (PDBs). To duplicate a sparse PDB: Complete the planning tasks describedUse the PLUGGABLE DATABASE syntax of the BACKUP command to copy only the backups of a specific PDB. For example, &hellip; RMAN Duplicating Sparse PDBs Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-sparse-pdbs\/\" \/>\n<meta property=\"og:site_name\" content=\"Ordba\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-23T21:58:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-23T21:58:04+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=\"2 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-sparse-pdbs\/\",\"url\":\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-sparse-pdbs\/\",\"name\":\"RMAN Duplicating Sparse PDBs - Ordba\",\"isPartOf\":{\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#website\"},\"datePublished\":\"2023-11-23T21:58:02+00:00\",\"dateModified\":\"2023-11-23T21:58:04+00:00\",\"author\":{\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/7365beabb32b7aa77cf0e890ee90ea0f\"},\"breadcrumb\":{\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-sparse-pdbs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-sparse-pdbs\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-sparse-pdbs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/test.samplewebsitelink.com\/ordba\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"RMAN Duplicating Sparse 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 Sparse 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-sparse-pdbs\/","og_locale":"en_US","og_type":"article","og_title":"RMAN Duplicating Sparse PDBs - Ordba","og_description":"&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Duplicating Sparse PDBs&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; (Source: Oracle Docs) Use the DUPLICATE command to duplicate sparse pluggable databases (PDBs). To duplicate a sparse PDB: Complete the planning tasks describedUse the PLUGGABLE DATABASE syntax of the BACKUP command to copy only the backups of a specific PDB. For example, &hellip; RMAN Duplicating Sparse PDBs Read More &raquo;","og_url":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-sparse-pdbs\/","og_site_name":"Ordba","article_published_time":"2023-11-23T21:58:02+00:00","article_modified_time":"2023-11-23T21:58:04+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":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-sparse-pdbs\/","url":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-sparse-pdbs\/","name":"RMAN Duplicating Sparse PDBs - Ordba","isPartOf":{"@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#website"},"datePublished":"2023-11-23T21:58:02+00:00","dateModified":"2023-11-23T21:58:04+00:00","author":{"@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/7365beabb32b7aa77cf0e890ee90ea0f"},"breadcrumb":{"@id":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-sparse-pdbs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-sparse-pdbs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/23\/rman-duplicating-sparse-pdbs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/test.samplewebsitelink.com\/ordba\/"},{"@type":"ListItem","position":2,"name":"RMAN Duplicating Sparse 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\/800","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=800"}],"version-history":[{"count":1,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/posts\/800\/revisions"}],"predecessor-version":[{"id":801,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/posts\/800\/revisions\/801"}],"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=800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/categories?post=800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/tags?post=800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}