{"id":678,"date":"2020-02-17T22:20:14","date_gmt":"2020-02-18T01:20:14","guid":{"rendered":"http:\/\/www.fernandosimon.com\/blog\/?p=678"},"modified":"2020-07-19T19:12:26","modified_gmt":"2020-07-19T22:12:26","slug":"zdlra-osb-and-clone-to-tape","status":"publish","type":"post","link":"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/","title":{"rendered":"ZDLRA, OSB and Clone to Tape"},"content":{"rendered":"<p style=\"text-align: justify;\">As you saw in <a href=\"https:\/\/www.fernandosimon.com\/blog\/zdlra-configuring-tape-library\/\" target=\"_blank\" rel=\"noopener noreferrer\">my last post<\/a>, the configuration to enable clone to tape for ZDLRA it is not complicated, but you need to take care of some details to avoid errors. Besides that, ZDLRA relies on OSB to do that (when configured with native tape support) and this has some details that you need to be aware of.<\/p>\n<p style=\"text-align: justify;\">In this post, I will show how the clone to tape works for ZDLRA. And how you can check some details about OSB.<\/p>\n<p style=\"text-align: justify;\"><!--more Click here to read more...--><\/p>\n<h2 style=\"text-align: justify;\">Basic Config<\/h2>\n<p style=\"text-align: justify;\">Below you can see how I configured the clone to tape templates:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">SQL&gt; BEGIN\r\n  2      DBMS_RA.CREATE_SBT_JOB_TEMPLATE (\r\n  3          template_name =&gt; 'ONLYTAPE_FULL_ARCH',\r\n  4          protection_policy_name =&gt; 'ZDLRA_ONLY_TAPE',\r\n  5          attribute_set_name =&gt; 'bronzerepfull',\r\n  6          backup_type =&gt; 'FULL,ARCH',\r\n  7          priority =&gt; DBMS_RA.SBT_PRIORITY_LOW,\r\n  8          window =&gt; INTERVAL '4' HOUR\r\n  9      );\r\n 10  END;\r\n 11  \/\r\n\r\nPL\/SQL procedure successfully completed.\r\n\r\nSQL&gt; BEGIN\r\n  2      DBMS_RA.CREATE_SBT_JOB_TEMPLATE (\r\n  3          template_name =&gt; 'ONLYTAPE_ARCH',\r\n  4          protection_policy_name =&gt; 'ZDLRA_ONLY_TAPE',\r\n  5          attribute_set_name =&gt; 'bronzerepfull',\r\n  6          backup_type =&gt; 'ARCH',\r\n  7          priority =&gt; DBMS_RA.SBT_PRIORITY_LOW,\r\n  8          window =&gt; INTERVAL '4' HOUR\r\n  9      );\r\n 10  END;\r\n 11  \/\r\n\r\nPL\/SQL procedure successfully completed.\r\n\r\nSQL&gt;<\/pre>\n<p style=\"text-align: justify;\">Basic configuration for the protection policy ZDLRA_ONLY_TAPE and with FULL and ARCHIVELOGS clones. For more details, you can check my previous post.<\/p>\n<p style=\"text-align: justify;\">You can check the table RASYS.RA_SBT_JOB to check all the templates already configured:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">SQL&gt; set linesize 250\r\nSQL&gt; col LIB_NAME format a30\r\nSQL&gt; col TEMPLATE_NAME format a50\r\nSQL&gt; col LAST_SCHEDULE_TIME format a35\r\nSQL&gt; col POLICY_NAME format a50\r\nSQL&gt; select TEMPLATE_NAME, BACKUP_TYPE, LAST_SCHEDULE_TIME, LIB_NAME, DB_UNIQUE_NAME, POLICY_NAME FROM RA_SBT_JOB WHERE LIB_NAME = 'OSBSBT' ;\r\n\r\nTEMPLATE_NAME                                      BACKUP_TYPE      LAST_SCHEDULE_TIME                  LIB_NAME                       DB_UNIQUE_NAME                 POLICY_NAME\r\n-------------------------------------------------- ---------------- ----------------------------------- ------------------------------ ------------------------------ --------------------------------------------------\r\nBRONZE_ARCH                                        ARCH             29-DEC-19 11.59.59.513917 PM +01:00 OSBSBT                                                        ZDLRA_BRONZE\r\nBRONZE_FULL_ARCH                                   FULL, ARCH       03-JAN-20 11.10.27.411320 PM +01:00 OSBSBT                                                        ZDLRA_BRONZE\r\nGOLDEN_ARCH                                        ARCH                                                 OSBSBT                                                        ZDLRA_GOLDEN\r\nGOLDEN_FULL_ARCH                                   FULL, ARCH       01-JAN-20 11.10.47.987397 PM +01:00 OSBSBT                                                        ZDLRA_GOLDEN\r\nONLYTAPE_FULL_ARCH                                 FULL, ARCH                                           OSBSBT                                                        ZDLRA_ONLY_TAPE\r\nONLYTAPE_ARCH                                      ARCH                                                 OSBSBT                                                        ZDLRA_ONLY_TAPE\r\n\r\n6 rows selected.\r\n\r\nSQL&gt;<\/pre>\n<p style=\"text-align: justify;\">Check that if the clone for this template was called you can see the information in the column LAST_SCHEDULE_TIME. And in this case, since I have not created the scheduler for this, it is empty.<\/p>\n<p style=\"text-align: justify;\">To do that, just created the scheduler for that:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">SQL&gt; BEGIN\r\n  2      DBMS_SCHEDULER.CREATE_JOB(\r\n  3          job_name =&gt; 'SBTJOB_ONLYTAPE_FULL_ARCH',\r\n  4          job_type =&gt; 'PLSQL_BLOCK',\r\n  5          job_action =&gt; 'dbms_ra.queue_sbt_backup_task(''ONLYTAPE_FULL_ARCH'');',\r\n  6          start_date =&gt; SYSDATE+(1\/1440),\r\n  7          enabled =&gt; TRUE,\r\n  8          auto_drop =&gt; TRUE,\r\n  9          repeat_interval =&gt; 'freq=WEEKLY; BYDAY=SUN; BYHOUR=20'\r\n 10      );\r\n 11  END;\r\n 12  \/\r\n\r\nPL\/SQL procedure successfully completed.\r\n\r\nSQL&gt; BEGIN\r\n  2      DBMS_SCHEDULER.CREATE_JOB(\r\n  3          job_name =&gt; 'SBTJOB_ONLYTAPE_ARCH',\r\n  4          job_type =&gt; 'PLSQL_BLOCK',\r\n  5          job_action =&gt; 'dbms_ra.queue_sbt_backup_task(''ONLYTAPE_ARCH'');',\r\n  6          start_date =&gt; SYSDATE+(1\/1440),\r\n  7          enabled =&gt; TRUE,\r\n  8          auto_drop =&gt; TRUE,\r\n  9          repeat_interval =&gt; 'freq=HOURLY; BYMINUTE=40'\r\n 10      );\r\n 11  END;\r\n 12  \/\r\n\r\nPL\/SQL procedure successfully completed.\r\n\r\nSQL&gt;<\/pre>\n<h2 style=\"text-align: justify;\">Database Backup<\/h2>\n<p style=\"text-align: justify;\">For ZDLRA I have the database ORCL18C linked with this protection policy and I have some backups for this database. You can see below the backups for datafile 1:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">RMAN&gt; list backup of datafile 1;\r\n\r\n\r\nList of Backup Sets\r\n===================\r\n\r\n\r\nBS Key  Type LV Size       Device Type Elapsed Time Completion Time\r\n------- ---- -- ---------- ----------- ------------ -------------------\r\n16512   Incr 0  330.35M    SBT_TAPE    00:03:03     02\/02\/2020 16:12:04\r\n        BP Key: 16513   Status: AVAILABLE  Compressed: YES  Tag: BKP-DB-INC0\r\n        Handle: VB$_1891149551_16507I   Media:\r\n  List of Datafiles in backup set 16512\r\n  File LV Type Ckp SCN    Ckp Time            Abs Fuz SCN Sparse Name\r\n  ---- -- ---- ---------- ------------------- ----------- ------ ----\r\n  1    0  Incr 1909028    02\/02\/2020 16:09:01              NO    \/u01\/app\/oracle\/oradata\/ORCL18C\/system01.dbf\r\n\r\nBS Key  Type LV Size       Device Type Elapsed Time Completion Time\r\n------- ---- -- ---------- ----------- ------------ -------------------\r\n16673   Incr 1  96.00K     SBT_TAPE    00:00:04     02\/02\/2020 16:27:01\r\n        BP Key: 16674   Status: AVAILABLE  Compressed: YES  Tag: BKP-DB\r\n        Handle: VB$_1891149551_16669I   Media:\r\n  List of Datafiles in backup set 16673\r\n  File LV Type Ckp SCN    Ckp Time            Abs Fuz SCN Sparse Name\r\n  ---- -- ---- ---------- ------------------- ----------- ------ ----\r\n  1    1  Incr 1910623    02\/02\/2020 16:26:57              NO    \/u01\/app\/oracle\/oradata\/ORCL18C\/system01.dbf\r\n\r\nBS Key  Type LV Size       Device Type Elapsed Time Completion Time\r\n------- ---- -- ---------- ----------- ------------ -------------------\r\n16701   Incr 0  329.22M    SBT_TAPE    00:00:04     02\/02\/2020 16:27:01\r\n        BP Key: 16702   Status: AVAILABLE  Compressed: YES  Tag: BKP-DB\r\n        Handle: VB$_1891149551_16669_1   Media:\r\n  List of Datafiles in backup set 16701\r\n  File LV Type Ckp SCN    Ckp Time            Abs Fuz SCN Sparse Name\r\n  ---- -- ---- ---------- ------------------- ----------- ------ ----\r\n  1    0  Incr 1910623    02\/02\/2020 16:26:57              NO    \/u01\/app\/oracle\/oradata\/ORCL18C\/system01.dbf\r\n\r\nRMAN&gt;<\/pre>\n<p style=\"text-align: justify;\">Check that I have the backupsets 16512 and 16701 that are the full backup. And the same for archivelogs.<\/p>\n<h2 style=\"text-align: justify;\">During the Clone<\/h2>\n<p style=\"text-align: justify;\">When the scheduler trigger the clones, we can follow it inside of ZDLRA in several ways. But the point is that (as usual), for ZDLRA, everything is a task. So, we can see information in the tables RA_TASK and in RA_SBT_TASK.<\/p>\n<p style=\"text-align: justify;\">You can create your sql\u2019s to check what it is running, but look at this example:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">SQL&gt; col state format a20\r\nSQL&gt; col ERROR_TEXT format a50\r\nSQL&gt; SELECT TASK_ID, STATE, DB_UNIQUE_NAME, ERROR_TEXT, BS_KEY, PIECE# FROM RA_SBT_TASK WHERE LIB_NAME = 'OSBSBT' AND  DB_UNIQUE_NAME = 'ORCL18C' ORDER BY DB_UNIQUE_NAME, BS_KEY, PIECE#;\r\n\r\n   TASK_ID STATE                DB_UNIQUE_NAME                 ERROR_TEXT                                             BS_KEY     PIECE#\r\n---------- -------------------- ------------------------------ -------------------------------------------------- ---------- ----------\r\n     33698 EXECUTABLE           ORCL18C                                                                                16542          1\r\n     33700 EXECUTABLE           ORCL18C                                                                                16565          1\r\n     33702 EXECUTABLE           ORCL18C                                                                                16582          1\r\n     33721 EXECUTABLE           ORCL18C                                                                                16618          1\r\n     33704 EXECUTABLE           ORCL18C                                                                                16701          1\r\n     33722 EXECUTABLE           ORCL18C                                                                                16706          1\r\n     33706 EXECUTABLE           ORCL18C                                                                                16725          1\r\n     33708 EXECUTABLE           ORCL18C                                                                                16734          1\r\n     33710 EXECUTABLE           ORCL18C                                                                                16743          1\r\n     33712 EXECUTABLE           ORCL18C                                                                                16752          1\r\n     33714 EXECUTABLE           ORCL18C                                                                                16761          1\r\n\r\n   TASK_ID STATE                DB_UNIQUE_NAME                 ERROR_TEXT                                             BS_KEY     PIECE#\r\n---------- -------------------- ------------------------------ -------------------------------------------------- ---------- ----------\r\n     33716 EXECUTABLE           ORCL18C                                                                                16782          1\r\n     33718 EXECUTABLE           ORCL18C                                                                                16791          1\r\n     33723 EXECUTABLE           ORCL18C                                                                                16795          1\r\n     33720 EXECUTABLE           ORCL18C                                                                                16825          1\r\n\r\n15 rows selected.\r\n\r\nSQL&gt;<\/pre>\n<p style=\"text-align: justify;\">The output above I picked up exactly when the job SBTJOB_ONLYTAPE_FULL_ARCH was running. You can see that ZDLRA put all the backupsets that was not cloned yet in the queue. At this moment, ZDLRA is creating the backupsets (since they exist jus in RA.VBDF table) and sending them (one to one) to OSB.<\/p>\n<p style=\"text-align: justify;\">You can do the same for RA_TASK:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">SQL&gt; select TASK_ID, TASK_TYPE, STATE, WAITING_ON, DB_KEY, DB_UNIQUE_NAME, CREATION_TIME, ERROR_COUNT, INTERRUPT_COUNT, BP_KEY,BS_KEY,DF_KEY,VB_KEY from rasys.ra_task where DB_UNIQUE_NAME = 'ORCL18C' and task_type LIKE '%SBT' order by 5,2,7,10,11,12,13;\r\n\r\n   TASK_ID TASK_TYPE                      STATE                     WAITING_ON     DB_KEY DB_UNIQUE_NAME                 CREATION_TIME                       ERROR_COUNT INTERRUPT_COUNT     BP_KEY     BS_KEY     DF_KEY     VB_KEY\r\n---------- ------------------------------ ------------------------- ---------- ---------- ------------------------------ ----------------------------------- ----------- --------------- ---------- ---------- ---------- ----------\r\n     33698 BACKUP_SBT                     RUNNING                                   15993 ORCL18C                        02-FEB-20 04.40.36.631549 PM +01:00           0               0                 16542\r\n     33700 BACKUP_SBT                     RUNNING                                   15993 ORCL18C                        02-FEB-20 04.40.36.833354 PM +01:00           0               0                 16565\r\n     33702 BACKUP_SBT                     RUNNING                                   15993 ORCL18C                        02-FEB-20 04.40.36.844599 PM +01:00           0               0                 16582\r\n     33704 BACKUP_SBT                     EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.36.861902 PM +01:00           0               0                 16701\r\n     33706 BACKUP_SBT                     EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.36.883175 PM +01:00           0               0                 16725\r\n     33708 BACKUP_SBT                     EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.36.898718 PM +01:00           0               0                 16734\r\n     33710 BACKUP_SBT                     EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.36.905336 PM +01:00           0               0                 16743\r\n     33712 BACKUP_SBT                     EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.36.924090 PM +01:00           0               0                 16752\r\n     33714 BACKUP_SBT                     EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.36.939241 PM +01:00           0               0                 16761\r\n     33716 BACKUP_SBT                     EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.36.961104 PM +01:00           0               0                 16782\r\n     33718 BACKUP_SBT                     EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.36.980517 PM +01:00           0               0                 16791\r\n\r\n   TASK_ID TASK_TYPE                      STATE                     WAITING_ON     DB_KEY DB_UNIQUE_NAME                 CREATION_TIME                       ERROR_COUNT INTERRUPT_COUNT     BP_KEY     BS_KEY     DF_KEY     VB_KEY\r\n---------- ------------------------------ ------------------------- ---------- ---------- ------------------------------ ----------------------------------- ----------- --------------- ---------- ---------- ---------- ----------\r\n     33720 BACKUP_SBT                     EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.36.992346 PM +01:00           0               0                 16825\r\n     33721 BACKUP_SBT                     EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.37.059282 PM +01:00           0               0                 16618\r\n     33722 BACKUP_SBT                     EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.37.061375 PM +01:00           0               0                 16706\r\n     33723 BACKUP_SBT                     EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.37.063679 PM +01:00           0               0                 16795\r\n     33699 PLAN_SBT                       COMPLETED                                 15993 ORCL18C                        02-FEB-20 04.40.36.783661 PM +01:00           0               0                 16542      16014      16538\r\n     33701 PLAN_SBT                       COMPLETED                                 15993 ORCL18C                        02-FEB-20 04.40.36.834255 PM +01:00           0               0                 16565      16012      16561\r\n     33703 PLAN_SBT                       COMPLETED                                 15993 ORCL18C                        02-FEB-20 04.40.36.845368 PM +01:00           0               0                 16582      16018      16577\r\n     33705 PLAN_SBT                       COMPLETED                                 15993 ORCL18C                        02-FEB-20 04.40.36.862820 PM +01:00           0               0                 16701      16006      16669\r\n     33707 PLAN_SBT                       COMPLETED                                 15993 ORCL18C                        02-FEB-20 04.40.36.883803 PM +01:00           0               0                 16725      16008      16710\r\n     33709 PLAN_SBT                       COMPLETED                                 15993 ORCL18C                        02-FEB-20 04.40.36.899324 PM +01:00           0               0                 16734      16022      16729\r\n     33711 PLAN_SBT                       COMPLETED                                 15993 ORCL18C                        02-FEB-20 04.40.36.906037 PM +01:00           0               0                 16743      16010      16738\r\n\r\n   TASK_ID TASK_TYPE                      STATE                     WAITING_ON     DB_KEY DB_UNIQUE_NAME                 CREATION_TIME                       ERROR_COUNT INTERRUPT_COUNT     BP_KEY     BS_KEY     DF_KEY     VB_KEY\r\n---------- ------------------------------ ------------------------- ---------- ---------- ------------------------------ ----------------------------------- ----------- --------------- ---------- ---------- ---------- ----------\r\n     33713 PLAN_SBT                       EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.36.924844 PM +01:00           0               0                 16752      16020      16747\r\n     33715 PLAN_SBT                       EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.36.939997 PM +01:00           0               0                 16761      16024      16756\r\n     33717 PLAN_SBT                       EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.36.961701 PM +01:00           0               0                 16782      16016      16777\r\n     33719 PLAN_SBT                       EXECUTABLE                                15993 ORCL18C                        02-FEB-20 04.40.36.981277 PM +01:00           0               0                 16791      16026      16786\r\n\r\n26 rows selected.\r\n\r\nSQL&gt;<\/pre>\n<h3 style=\"text-align: justify;\">Inside OSB<\/h3>\n<p style=\"text-align: justify;\">At OSB side we can check some information about how it is processing the clones. For OSB, everything is one job, and we can check in with obtool.<\/p>\n<p style=\"text-align: justify;\">To check the jobs we execute obtool lsjob:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">[root@zdlras1n1 ~]# obtool lsjob\r\nJob ID           Sched time  Contents                       State\r\n---------------- ----------- ------------------------------ ---------------------------------------\r\noracle\/38        none        database ORCL18C (dbid=558466555) processed; Oracle job(s) scheduled\r\noracle\/38.2      none        datafile backup                running since 2020\/02\/02.16:43\r\noracle\/38.4      none        datafile backup                running since 2020\/02\/02.16:44\r\n[root@zdlras1n1 ~]#<\/pre>\n<p style=\"text-align: justify;\">Some important information here. For every scheduler that was triggered by ZDLRA, we can see the job for each database, in this case, <em>oracle\/38<\/em>. This is the master job, just to control what is happening. If you have more than one database in the same job being cloned, you will see more.<\/p>\n<p style=\"text-align: justify;\">For each backupset that it is needed to be cloned, you will see child jobs (derived from the master). And for this, we can see logs from what is happening. All the logs for OSB are in the folder <em>\/usr\/etc\/ob\/xcr\/<\/em>. Doing a cat from one finished job we can see useful information:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">[root@zdlras1n1 ~]# cat \/usr\/etc\/ob\/xcr\/oracle@38.2\r\n[4100000001]2020\/02\/02.16:43:15 ______________________________________________________________________\r\n[4100000001]2020\/02\/02.16:43:15\r\n[4100000002]2020\/02\/02.16:43:15         Transcript for job oracle\/38.2 running on zdlras1n1\r\n[4100000002]2020\/02\/02.16:43:15\r\n[3100000003]2020\/02\/02.16:43:15 Info: mount data verified.\r\n[3100000004]2020\/02\/02.16:43:15 Info: volume in tape04 is usable for this operation.\r\n[1100000005]2020\/02\/02.16:43:15 (pvfw) not at BOT\r\n[1100000006]2020\/02\/02.16:43:15 (pvfw) previous state is invalid\r\n[1100000007]2020\/02\/02.16:43:15 (alv)  backup image label is valid, file 21, section 1\r\n[1100000008]2020\/02\/02.16:43:15 (pvfw) at OB EOD, returning (1)\r\n[1100000009]2020\/02\/02.16:43:15 (pvfw) pos_vol_cleanup not returning pstate\r\n[010000000A]2020\/02\/02.16:43:15 (dmap) tape04 success\r\n[410000000B]Volume label:\r\n[410000000C]    Volume tag:             E01011L4\r\n[410000000D]    Volume UUID:            a1f8db28-109b-1038-847b-080027b2a93d\r\n[410000000E]    Volume ID:              zdlras1-osbmf-000006\r\n[410000000F]    Volume set ID:          zdlras1-osbmf-000002\r\n[4100000010]    Previous volume:        zdlras1-osbmf-000002\r\n[4100000011]    Volume sequence:        2\r\n[4100000012]    Volume set owner:       root\r\n[4100000013]    Volume set created:     Sun Dec 29 23:35:18 2019\r\n[4100000014]    Volume set closes:      Wed Oct 19 00:35:18 2022 (no writes after this time)\r\n[4000000015]    Media family:           zdlras1-osbmf\r\n[4100000016]\r\n[4100000017]    Volume set expires: never; content manages reuse\r\n[4100000018]\r\n[4100000019]Archive label:\r\n[410000001A]    File number:            21\r\n[410000001B]    File section:           1\r\n[410000001C]    Owner:                  root\r\n[410000001D]    Client host:            zdlras1n1\r\n[410000001E]    Backup level:           0\r\n[410000001F]    S\/w compression:        no\r\n[4100000020]    Archive created:        Sun Feb 02 16:43:15 2020\r\n[4100000021]    Archive owner:          oracle (UUID bbad0004-01a9-1038-abb2-080027b2a93d)\r\n[4100000022]    Owner class:            oracle (UUID a43aa638-01a9-1038-8809-080027b2a93d)\r\n[4100000023]    Backup piece name:      RA_SBT_ORCL18C_558466555_16849_rpunhlqh_1_2_16701\r\n[4100000024]    Backup db name:         ORCL18C\r\n[4100000025]    Backup db id:           558466555\r\n[4100000026]    Backup copy number:     not applicable\r\n[4100000027]    Backup content:         full\r\n[4100000028]    Encryption:             off\r\n[4100000029]    Catalog data:           no\r\n[410000002A]    Backup image UUID:      4599459c-27f8-1038-adc6-080027b2a93d\r\n[410000002B]    Backup instance UUID:   459945b0-27f8-1038-adc6-080027b2a93d\r\n[410000002C]    Backup instance created:Sun Feb 02 16:43:15 2020\r\n[410000002D]\r\n[410000002E]\r\n[410000002E]Backup statistics:\r\n[410000002F]status 0\r\n[4000000030]devices\r\n[4000000031] tape04\r\n[4100000032]\r\n[4000000033]volumes\r\n[4000000034] zdlras1-osbmf-000006\r\n[4100000035]\r\n[4000000036]voltags\r\n[4000000037] E01011L4\r\n[4100000038]\r\n[4100000039]file 21\r\n[410000003A]host zdlras1n1\r\n[410000003B]encryption off\r\n[410000003C]compression no\r\n[410000003D]start_time  Sun Feb 02 2020 at 16:43:15 (1580658195)\r\n[410000003E]end_time    Sun Feb 02 2020 at 16:44:20 (1580658260)\r\n[410000003F]backup_time Sun Feb 02 2020 at 16:43:15 (1580658195)\r\n[4100000040]dev_kbytes 753036\r\n[4100000041]dev_iosecs 60\r\n[4100000042]dev_iorate 12.9 MB\/S\r\n[4100000043]wrt_iosecs 65\r\n[4100000044]wrt_iorate 11.9 MB\/S\r\n[4100000045]physical_blks_written 368\r\n[4100000046]write_errors 0\r\n[4100000047]physical_blks_read 0\r\n[4100000048]read_errors 0\r\n[4100000049]error_rate 0%\r\n[410000004A]piece RA_SBT_ORCL18C_558466555_16849_rpunhlqh_1_2_16701 completed, status 0\r\n[root@zdlras1n1 ~]#<\/pre>\n<p style=\"text-align: justify;\">Some important details from there:<\/p>\n<ul style=\"text-align: justify;\">\n<li>Volume tag: This is the tag for your tape. This can from the barcode read by OSB<\/li>\n<li>Backup piece name: The name that was created and identify the file inside OSB<\/li>\n<li>wrt_iorate: This is the speed that OSB wrote into the tape<\/li>\n<li>write_errors: Errors that occurred while writing.<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">If that you can create some scripts to verify details from your OSBD clones:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">[root@zdlras1n1 ~]# cat \/usr\/etc\/ob\/xcr\/oracle@38.* |grep \"Volume tag\"\r\n[410000000C]    Volume tag:             E01010L4\r\n[410000000C]    Volume tag:             E01011L4\r\n[410000000C]    Volume tag:             E01009L4\r\n[410000000C]    Volume tag:             E01010L4\r\n[410000000C]    Volume tag:             E01010L4\r\n[410000000C]    Volume tag:             E01011L4\r\n[410000000C]    Volume tag:             E01009L4\r\n[root@zdlras1n1 ~]#<\/pre>\n<p style=\"text-align: justify;\">As told before (in my previous post), the integration between OSB and ZDLRA is not the best (to be honest). For ZDLRA OSB is one external tool. As an example, from ZDLRA library (cli or in cloud control) you can\u2019t check OSB jobs and other details (like if the library has free tapes). If the clone fails, ZDLRA does not provide a good report and you need to go to CLI and use obtool. Look below that OSB is a separate box (image took from <a href=\"https:\/\/docs.oracle.com\/en\/engineered-systems\/zero-data-loss-recovery-appliance\/19.2\/amagd\/amagd_concepts.html#GUID-683ADAFE-2B8F-4EBB-98DC-25DD7F368122\" target=\"_blank\" rel=\"noopener noreferrer\">ZDLRA Administrator&#8217;s Guide<\/a>).<\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2020\/02\/ZDLRA-OSB.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-676\" src=\"http:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2020\/02\/ZDLRA-OSB.png\" alt=\"\" width=\"662\" height=\"402\" srcset=\"https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2020\/02\/ZDLRA-OSB.png 662w, https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2020\/02\/ZDLRA-OSB-300x182.png 300w, https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2020\/02\/ZDLRA-OSB-624x379.png 624w\" sizes=\"auto, (max-width: 662px) 100vw, 662px\" \/><\/a><\/p>\n<h4 style=\"text-align: justify;\">Useful OSB commands<\/h4>\n<p style=\"text-align: justify;\">You can see more information about the devices using the <em>obtool lsdev<\/em>. Here I have 4 drivers:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">[root@zdlras1n1 ~]# obtool lsdev\r\nlibrary             lib01            in service\r\n  drive 1           tape01           in service\r\n  drive 2           tape02           in service\r\n  drive 3           tape03           in service\r\n  drive 4           tape04           in service\r\n[root@zdlras1n1 ~]#<\/pre>\n<p style=\"text-align: justify;\">And about the library (listing tapes) with <em>obtool lsvol<\/em>. To verify if you have free tapes inside of OSB library, as an example:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">root@zdlras1n1 ~]# obtool lsvol -L lib01\r\nInventory of library lib01:\r\n    in    1:             unlabeled, barcode E01001L4, readonly\r\n    in    2:             unlabeled, barcode E01002L4, readonly\r\n    in    3:             unlabeled, barcode E01003L4, readonly\r\n    in    4:             unlabeled, barcode E01004L4, readonly\r\n    in    5:             volume zdlras1-osbmf-000001, barcode E01005L4, full, content manages reuse\r\n    in    6:             volume zdlras1-osbmf-000002, barcode E01006L4, full, content manages reuse, mediainfo hw encryptable\r\n    in    7:             volume zdlras1-osbmf-000003, barcode E01007L4, full, content manages reuse, mediainfo hw encryptable\r\n    in    8:             volume RMAN-DEFAULT-000001, barcode E01008L4, content manages reuse\r\n    in    12:            barcode E01012L4\r\n    in    13:            barcode E01013L4\r\n    in    14:            barcode E01014L4\r\n    in    15:            barcode E01015L4\r\n    in    16:            barcode E01016L4\r\n    in    17:            barcode E01017L4\r\n    in    18:            barcode E01018L4\r\n    in    19:            barcode E01019L4\r\n    in    20:            barcode E01020L4\r\n    in    22:            barcode CLN101L4\r\n    in    23:            barcode CLN102L5\r\n    in    30:            barcode F01030L5\r\n    in    31:            barcode F01031L5\r\n    in    32:            barcode F01032L5\r\n    in    33:            barcode F01033L5\r\n    in    34:            barcode F01034L5\r\n    in    35:            barcode F01035L5\r\n    in    36:            barcode F01036L5\r\n    in    37:            barcode F01037L5\r\n    in    38:            barcode F01038L5\r\n    in    39:            barcode F01039L5\r\n    in    dte1:          volume zdlras1-osbmf-000004, barcode E01009L4, 233472 kb remaining, content manages reuse, lastse 9, mediainfo hw encryptable\r\n    in    dte3:          volume zdlras1-osbmf-000005, barcode E01010L4, 159744 kb remaining, content manages reuse, lastse 10\r\n    in    dte4:          volume zdlras1-osbmf-000006, barcode E01011L4, 18432 kb remaining, content manages reuse, lastse 11\r\n[root@zdlras1n1 ~]#<\/pre>\n<p style=\"text-align: justify;\">And if you want to check for some volume <em>obtool lsvol -b<\/em> can be used. This is important to see everything that is inside one tape in specific:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">[root@zdlras1n1 ~]# obtool lsvol -b E01011L4\r\n    VOID    OOID Seq Volume ID          Barcode     Family      Created     Attributes\r\n     157     157   2 zdlras1-osbmf-000006 E01011L4    zdlras1-osbmf 12\/29.23:35 open; closes 2022\/10\/18; content manages reuse\r\n[root@zdlras1n1 ~]#<\/pre>\n<p style=\"text-align: justify;\">And for the OSB volume that it inside of this tape we can use <em>obtool lsbkup<\/em>:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">[root@zdlras1n1 ~]# obtool lsbkup -l -c zdlras1-osbmf-000006\r\nBackup image name:    zdlras1n1-20200103-221130\r\n    Type:                   Oracle database\r\n    Client:                 zdlras1n1\r\n    Backup piece name:      RA_SBT_ORCL19_13806_13805_nrul3953_1_2_0_MMNYx\r\n    Database:               ORCL19\r\n    Content:                full\r\n    Size:                   768.2 MB\r\n    Backup owner:           oracle\r\n    Owner class:            oracle\r\n    Backup date and time:   2020\/01\/03.23:11\r\n    Created by job:         oracle\/36.1\r\n    UUID:                   89a815e8-109b-1038-847b-080027b2a93d\r\nBackup image name:    zdlras1n1-20200202-154208\r\n    Type:                   Oracle database\r\n    Client:                 zdlras1n1\r\n    Backup piece name:      RA_SBT_ORCL18C_558466555_16849_33unhlfr_1_2_16565\r\n    Database:               ORCL18C\r\n    Content:                full\r\n    Size:                   240.8 MB\r\n    Backup owner:           oracle\r\n    Owner class:            oracle\r\n    Backup date and time:   2020\/02\/02.16:42\r\n    Created by job:         oracle\/37.2\r\n    UUID:                   1ef6b2ee-27f8-1038-995e-080027b2a93d\r\nBackup image name:    zdlras1n1-20200202-154315\r\n    Type:                   Oracle database\r\n    Client:                 zdlras1n1\r\n    Backup piece name:      RA_SBT_ORCL18C_558466555_16849_rpunhlqh_1_2_16701\r\n    Database:               ORCL18C\r\n    Content:                full\r\n    Size:                   735.4 MB\r\n    Backup owner:           oracle\r\n    Owner class:            oracle\r\n    Backup date and time:   2020\/02\/02.16:43\r\n    Created by job:         oracle\/38.2\r\n    UUID:                   4599459c-27f8-1038-adc6-080027b2a93d\r\nBackup image name:    zdlras1n1-20200202-154431\r\n    Type:                   Oracle database\r\n    Client:                 zdlras1n1\r\n    Backup piece name:      RA_SBT_ORCL18C_558466555_16849_f2unhlqu_1_2_16782\r\n    Database:               ORCL18C\r\n    Content:                full\r\n    Size:                   1.2 MB\r\n    Backup owner:           oracle\r\n    Owner class:            oracle\r\n    Backup date and time:   2020\/02\/02.16:44\r\n    Created by job:         oracle\/38.6\r\n    UUID:                   72577360-27f8-1038-8987-080027b2a93d\r\nBackup image name:    zdlras1n1-20200202-154504\r\n    Type:                   Oracle database\r\n    Client:                 zdlras1n1\r\n    Backup piece name:      RA_SBT_c-558466555-20200202-00\r\n    Database:               ORCL18C\r\n    Content:                full\r\n    Size:                   18.1 MB\r\n    Backup owner:           oracle\r\n    Owner class:            oracle\r\n    Backup date and time:   2020\/02\/02.16:45\r\n    Created by job:         oracle\/39.2\r\n    UUID:                   85c228c8-27f8-1038-bcf9-080027b2a93d\r\n[root@zdlras1n1 ~]#<\/pre>\n<p style=\"text-align: justify;\">As you can see we can use these commands to check what a lot of details about the volumes and tapes. In the command above you can see that inside of the same volume store backups from different databases. This occurs because of the share the same attribute inside ZDLRA, and there, I specified only one volume.&nbsp;<\/p>\n<p style=\"text-align: justify;\">If you want to see some details about one database you can use <em>obtool lspiece<\/em>:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">[root@zdlras1n1 ~]# obtool lspiece -d ORCL18C\r\n    POID Database   Content    Copy Created      Host             Piece name\r\n     190 ORCL18C    full          0 02\/02.16:42  zdlras1n1        RA_SBT_ORCL18C_558466555_16849_34unhlje_1_2_16582\r\n     191 ORCL18C    full          0 02\/02.16:42  zdlras1n1        RA_SBT_ORCL18C_558466555_16849_33unhlfr_1_2_16565\r\n     192 ORCL18C    full          0 02\/02.16:42  zdlras1n1        RA_SBT_ORCL18C_558466555_16849_30unhl75_1_2_16542\r\n     193 ORCL18C    full          0 02\/02.16:43  zdlras1n1        RA_SBT_ORCL18C_558466555_16849_cqunhlqk_1_2_16725\r\n     194 ORCL18C    full          0 02\/02.16:43  zdlras1n1        RA_SBT_ORCL18C_558466555_16849_obunhlqn_1_2_16734\r\n     195 ORCL18C    full          0 02\/02.16:44  zdlras1n1        RA_SBT_ORCL18C_558466555_16849_5dunhlqo_1_2_16743\r\n     196 ORCL18C    full          0 02\/02.16:43  zdlras1n1        RA_SBT_ORCL18C_558466555_16849_rpunhlqh_1_2_16701\r\n     197 ORCL18C    full          0 02\/02.16:44  zdlras1n1        RA_SBT_ORCL18C_558466555_16849_vuunhlqp_1_2_16752\r\n     198 ORCL18C    full          0 02\/02.16:44  zdlras1n1        RA_SBT_ORCL18C_558466555_16849_f2unhlqu_1_2_16782\r\n     199 ORCL18C    full          0 02\/02.16:44  zdlras1n1        RA_SBT_ORCL18C_558466555_16849_h1unhlqt_1_2_16761\r\n     200 ORCL18C    full          0 02\/02.16:44  zdlras1n1        RA_SBT_ORCL18C_558466555_16849_9junhlqv_1_2_16791\r\n     201 ORCL18C    full          0 02\/02.16:45  zdlras1n1        RA_SBT_c-558466555-20200202-00\r\n     202 ORCL18C    full          0 02\/02.16:45  zdlras1n1        RA_SBT_c-558466555-20200202-02\r\n     203 ORCL18C    full          0 02\/02.16:45  zdlras1n1        RA_SBT_c-558466555-20200202-01\r\n     204 ORCL18C    full          0 02\/02.16:45  zdlras1n1        RA_SBT_ORCL18C_558466555_16849_6lunhltm_1_2_16795\r\n[root@zdlras1n1 ~]#<\/pre>\n<p style=\"text-align: justify;\">For job list you can use the <em>obtool lsjob -A:<\/em><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">[root@zdlras1n1 ~]# obtool lsjob -A\r\nJob ID           Sched time  Contents                       State\r\n---------------- ----------- ------------------------------ ---------------------------------------\r\noracle\/36        none        database ORCL19 (dbid=323177095) completed successfully at 2020\/01\/03.23:12\r\noracle\/36.1      none        datafile backup                completed successfully at 2020\/01\/03.23:12\r\noracle\/37        none        database ORCL18C (dbid=558466555) completed successfully at 2020\/02\/02.16:42\r\noracle\/37.1      none        datafile backup                completed successfully at 2020\/02\/02.16:42\r\noracle\/37.2      none        datafile backup                completed successfully at 2020\/02\/02.16:42\r\noracle\/37.3      none        datafile backup                completed successfully at 2020\/02\/02.16:42\r\noracle\/38        none        database ORCL18C (dbid=558466555) completed successfully at 2020\/02\/02.16:44\r\noracle\/38.1      none        datafile backup                completed successfully at 2020\/02\/02.16:43\r\noracle\/38.2      none        datafile backup                completed successfully at 2020\/02\/02.16:44\r\noracle\/38.3      none        datafile backup                completed successfully at 2020\/02\/02.16:43\r\noracle\/38.4      none        datafile backup                completed successfully at 2020\/02\/02.16:44\r\noracle\/38.5      none        datafile backup                completed successfully at 2020\/02\/02.16:44\r\noracle\/38.6      none        datafile backup                completed successfully at 2020\/02\/02.16:44\r\noracle\/38.7      none        datafile backup                completed successfully at 2020\/02\/02.16:44\r\noracle\/39        none        database ORCL18C (dbid=558466555) completed successfully at 2020\/02\/02.16:45\r\noracle\/39.1      none        datafile backup                completed successfully at 2020\/02\/02.16:45\r\noracle\/39.2      none        datafile backup                completed successfully at 2020\/02\/02.16:45\r\noracle\/39.3      none        datafile backup                completed successfully at 2020\/02\/02.16:45\r\noracle\/40        none        database ORCL18C (dbid=558466555) completed successfully at 2020\/02\/02.16:45\r\noracle\/40.1      none        datafile backup                completed successfully at 2020\/02\/02.16:45\r\noracle\/41        none        database ORCL18C (dbid=558466555) completed successfully at 2020\/02\/02.16:45\r\noracle\/41.1      none        datafile backup                completed successfully at 2020\/02\/02.16:45\r\n[root@zdlras1n1 ~]#<\/pre>\n<p style=\"text-align: justify;\">As told, with these commands you can verify allot of useful info about the health of your clone to tapes at OSB side. And unfortunately, it is the only way to do that since it can be done using ZDLRA CLI.<\/p>\n<h2 style=\"text-align: justify;\">After clone<\/h2>\n<p style=\"text-align: justify;\">After the clone job finish you can see that a new copy for the backupset appears in the rman catalog:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"no-highlight\">RMAN&gt; list backup of datafile 1;\r\n\r\n\r\nList of Backup Sets\r\n===================\r\n\r\n\r\nBS Key  Type LV Size       Device Type Elapsed Time Completion Time\r\n------- ---- -- ---------- ----------- ------------ -------------------\r\n16512   Incr 0  330.35M    SBT_TAPE    00:03:03     02\/02\/2020 16:12:04\r\n        BP Key: 16513   Status: AVAILABLE  Compressed: YES  Tag: BKP-DB-INC0\r\n        Handle: VB$_1891149551_16507I   Media:\r\n  List of Datafiles in backup set 16512\r\n  File LV Type Ckp SCN    Ckp Time            Abs Fuz SCN Sparse Name\r\n  ---- -- ---- ---------- ------------------- ----------- ------ ----\r\n  1    0  Incr 1909028    02\/02\/2020 16:09:01              NO    \/u01\/app\/oracle\/oradata\/ORCL18C\/system01.dbf\r\n\r\nBS Key  Type LV Size       Device Type Elapsed Time Completion Time\r\n------- ---- -- ---------- ----------- ------------ -------------------\r\n16673   Incr 1  96.00K     SBT_TAPE    00:00:04     02\/02\/2020 16:27:01\r\n        BP Key: 16674   Status: AVAILABLE  Compressed: YES  Tag: BKP-DB\r\n        Handle: VB$_1891149551_16669I   Media:\r\n  List of Datafiles in backup set 16673\r\n  File LV Type Ckp SCN    Ckp Time            Abs Fuz SCN Sparse Name\r\n  ---- -- ---- ---------- ------------------- ----------- ------ ----\r\n  1    1  Incr 1910623    02\/02\/2020 16:26:57              NO    \/u01\/app\/oracle\/oradata\/ORCL18C\/system01.dbf\r\n\r\nBS Key  Type LV Size\r\n------- ---- -- ----------\r\n16701   Incr 0  329.22M\r\n  List of Datafiles in backup set 16701\r\n  File LV Type Ckp SCN    Ckp Time            Abs Fuz SCN Sparse Name\r\n  ---- -- ---- ---------- ------------------- ----------- ------ ----\r\n  1    0  Incr 1910623    02\/02\/2020 16:26:57              NO    \/u01\/app\/oracle\/oradata\/ORCL18C\/system01.dbf\r\n\r\n  Backup Set Copy #1 of backup set 16701\r\n  Device Type Elapsed Time Completion Time     Compressed Tag\r\n  ----------- ------------ ------------------- ---------- ---\r\n  SBT_TAPE    00:42:37     02\/02\/2020 16:27:01 YES        BKP-DB\r\n\r\n    List of Backup Pieces for backup set 16701 Copy #1\r\n    BP Key  Pc# Status      Media                   Piece Name\r\n    ------- --- ----------- ----------------------- ----------\r\n    16702   1   AVAILABLE                           VB$_1891149551_16669_1\r\n\r\n  Backup Set Copy #2 of backup set 16701\r\n  Device Type Elapsed Time Completion Time     Compressed Tag\r\n  ----------- ------------ ------------------- ---------- ---\r\n  SBT_TAPE    00:42:37     02\/02\/2020 15:44:20 NO         BKP-DB\r\n\r\n    List of Backup Pieces for backup set 16701 Copy #2\r\n    BP Key  Pc# Status      Media                   Piece Name\r\n    ------- --- ----------- ----------------------- ----------\r\n    16876   1   AVAILABLE   zdlras1-osbmf-000006    RA_SBT_ORCL18C_558466555_16849_rpunhlqh_1_2_16701\r\n\r\nRMAN&gt;<\/pre>\n<p style=\"text-align: justify;\">Look that now the backupset 16701 has two copies. One inside ZDLRA database and others in the tape. And as you can see above, just the last full was cloned to tape. This is the default behavior for ZDLRA, just the last full is cloned to tape. I explained more in the previous post.<\/p>\n<p style=\"text-align: justify;\">For archivelogs the process is a little different, but basically clones everything that was not yet. And if you have real-time redo you will have a lot of clones (since each one has a different backupset).<\/p>\n<p style=\"text-align: justify;\">The management of the rman catalog is done automatically by ZDLRA. If your backup passes over the retention for <em>recovery_window_goal<\/em> (that manages just what is inside ZDLRA database), the copy will disappear from the list. The same occurs for cloned backups that follow the <em>recovery_window_sbt<\/em> parameter for your policy. The same is done when the clone is made, the new copy appears automatically.<\/p>\n<p style=\"text-align: justify;\">&nbsp;<\/p>\n<p style=\"text-align: justify;\"><strong>Disclaimer<\/strong>: <em>\u201cThe postings on this site are my own and don\u2019t necessarily represent my actual employer positions, strategies or opinions. The information here was edited to be useful for general purpose, specific data and identifications were removed to allow reach the generic audience and to be useful for the community. Post protected by copyright.\u201d<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As you saw in my last post, the configuration to enable clone to tape for ZDLRA it is not complicated, but you need to take care of some details to avoid errors. Besides that, ZDLRA relies on OSB to do that (when configured with native tape support) and this has some details that you need [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[44,46,29,77,6,43,5,51],"tags":[93,126,100,69,65,128,74],"class_list":["post-678","post","type-post","status-publish","format-standard","hentry","category-backup","category-clone","category-database","category-engineeredsystems","category-exadata","category-mml","category-oracle","category-zdlra","tag-backup","tag-clone","tag-engineered-systems","tag-exadata","tag-oracle","tag-tape-osb","tag-zdlra"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ZDLRA, OSB and Clone to Tape - Fernando Simon<\/title>\n<meta name=\"description\" content=\"Check how works clone to tape for ZDLRA and how the cloned backupsets appear inside of rman catalog. Check some useful commands to manage OSB.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ZDLRA, OSB and Clone to Tape - Fernando Simon\" \/>\n<meta property=\"og:description\" content=\"Check how works clone to tape for ZDLRA and how the cloned backupsets appear inside of rman catalog. Check some useful commands to manage OSB.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/\" \/>\n<meta property=\"og:site_name\" content=\"Fernando Simon\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-18T01:20:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-07-19T22:12:26+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2020\/02\/ZDLRA-OSB.png\" \/>\n<meta name=\"author\" content=\"Simon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Simon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"19 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/\"},\"author\":{\"name\":\"Simon\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/386da956604bca0d5be5dd52210c1dd9\"},\"headline\":\"ZDLRA, OSB and Clone to Tape\",\"datePublished\":\"2020-02-18T01:20:14+00:00\",\"dateModified\":\"2020-07-19T22:12:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/\"},\"wordCount\":1113,\"commentCount\":3,\"image\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2020\/02\/ZDLRA-OSB.png\",\"keywords\":[\"backup\",\"Clone\",\"Engineered Systems\",\"Exadata\",\"Oracle\",\"tape osb\",\"ZDLRA\"],\"articleSection\":[\"Backup\",\"Clone\",\"Database\",\"Engineered Systems\",\"Exadata\",\"MML\",\"Oracle\",\"ZDLRA\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/\",\"url\":\"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/\",\"name\":\"ZDLRA, OSB and Clone to Tape - Fernando Simon\",\"isPartOf\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2020\/02\/ZDLRA-OSB.png\",\"datePublished\":\"2020-02-18T01:20:14+00:00\",\"dateModified\":\"2020-07-19T22:12:26+00:00\",\"author\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/386da956604bca0d5be5dd52210c1dd9\"},\"description\":\"Check how works clone to tape for ZDLRA and how the cloned backupsets appear inside of rman catalog. Check some useful commands to manage OSB.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#primaryimage\",\"url\":\"http:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2020\/02\/ZDLRA-OSB.png\",\"contentUrl\":\"http:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2020\/02\/ZDLRA-OSB.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.fernandosimon.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ZDLRA, OSB and Clone to Tape\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/#website\",\"url\":\"https:\/\/www.fernandosimon.com\/blog\/\",\"name\":\"Fernando Simon\",\"description\":\"Have you hugged your backup today?\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.fernandosimon.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/386da956604bca0d5be5dd52210c1dd9\",\"name\":\"Simon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a3dbc48de62fffb1829befb4a588d789ec6dc5e05977afabb3407a5f37a16482?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a3dbc48de62fffb1829befb4a588d789ec6dc5e05977afabb3407a5f37a16482?s=96&d=mm&r=g\",\"caption\":\"Simon\"},\"sameAs\":[\"http:\/\/www.fernandosimon.com\"],\"url\":\"https:\/\/www.fernandosimon.com\/blog\/author\/simon\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ZDLRA, OSB and Clone to Tape - Fernando Simon","description":"Check how works clone to tape for ZDLRA and how the cloned backupsets appear inside of rman catalog. Check some useful commands to manage OSB.","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:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/","og_locale":"en_US","og_type":"article","og_title":"ZDLRA, OSB and Clone to Tape - Fernando Simon","og_description":"Check how works clone to tape for ZDLRA and how the cloned backupsets appear inside of rman catalog. Check some useful commands to manage OSB.","og_url":"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/","og_site_name":"Fernando Simon","article_published_time":"2020-02-18T01:20:14+00:00","article_modified_time":"2020-07-19T22:12:26+00:00","og_image":[{"url":"http:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2020\/02\/ZDLRA-OSB.png","type":"","width":"","height":""}],"author":"Simon","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Simon","Est. reading time":"19 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#article","isPartOf":{"@id":"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/"},"author":{"name":"Simon","@id":"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/386da956604bca0d5be5dd52210c1dd9"},"headline":"ZDLRA, OSB and Clone to Tape","datePublished":"2020-02-18T01:20:14+00:00","dateModified":"2020-07-19T22:12:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/"},"wordCount":1113,"commentCount":3,"image":{"@id":"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#primaryimage"},"thumbnailUrl":"http:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2020\/02\/ZDLRA-OSB.png","keywords":["backup","Clone","Engineered Systems","Exadata","Oracle","tape osb","ZDLRA"],"articleSection":["Backup","Clone","Database","Engineered Systems","Exadata","MML","Oracle","ZDLRA"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/","url":"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/","name":"ZDLRA, OSB and Clone to Tape - Fernando Simon","isPartOf":{"@id":"https:\/\/www.fernandosimon.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#primaryimage"},"image":{"@id":"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#primaryimage"},"thumbnailUrl":"http:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2020\/02\/ZDLRA-OSB.png","datePublished":"2020-02-18T01:20:14+00:00","dateModified":"2020-07-19T22:12:26+00:00","author":{"@id":"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/386da956604bca0d5be5dd52210c1dd9"},"description":"Check how works clone to tape for ZDLRA and how the cloned backupsets appear inside of rman catalog. Check some useful commands to manage OSB.","breadcrumb":{"@id":"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#primaryimage","url":"http:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2020\/02\/ZDLRA-OSB.png","contentUrl":"http:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2020\/02\/ZDLRA-OSB.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fernandosimon.com\/blog\/zdlra-osb-and-clone-to-tape\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fernandosimon.com\/blog\/"},{"@type":"ListItem","position":2,"name":"ZDLRA, OSB and Clone to Tape"}]},{"@type":"WebSite","@id":"https:\/\/www.fernandosimon.com\/blog\/#website","url":"https:\/\/www.fernandosimon.com\/blog\/","name":"Fernando Simon","description":"Have you hugged your backup today?","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fernandosimon.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/386da956604bca0d5be5dd52210c1dd9","name":"Simon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a3dbc48de62fffb1829befb4a588d789ec6dc5e05977afabb3407a5f37a16482?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a3dbc48de62fffb1829befb4a588d789ec6dc5e05977afabb3407a5f37a16482?s=96&d=mm&r=g","caption":"Simon"},"sameAs":["http:\/\/www.fernandosimon.com"],"url":"https:\/\/www.fernandosimon.com\/blog\/author\/simon\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5ofTp-aW","_links":{"self":[{"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/posts\/678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/comments?post=678"}],"version-history":[{"count":0,"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/posts\/678\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/media?parent=678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/categories?post=678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/tags?post=678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}