Skip to main content
SnapCenter 5.0 cmdlets

Catalog-SmBackupWithOracleRMAN

Contributors

Catalogs an Oracle backup.

Syntax

Catalog-SmBackupWithOracleRMAN [-PluginCode]  <PluginCode>  [-BackupId]  <String>  [-BackupName]  <String>  [-AppObjectId]  <String>  [-ArchivedLocators]  <Hashtable[]>  [-LogArchivedLocators]  <Hashtable[]>

Detailed Description

Catalogs the Oracle Database backup in SnapCenter with Oracle Recovery Manager (RMAN).

Parameters

Name Description Required? Pipeline Input Default Value

PluginCode

Specifies the plug-in code of the resource to be cataloged.

true

false

BackupId

Specifies the id of backup that needs to be cataloged.

false

false

BackupName

Specifies the name of backup that needs to be cataloged.

false

false

AppObjectId

Specifies the ID of the application object.

false

true (ByPropertyName)

ArchivedLocators

Specifies the secondary storage system details in a hashtable for each unique primary data storage system resource in the resource group. For example:-ArchivedLocators @{Primary="my_vs1:my_data_vol";Secondary="my_vs1:my_data_vol_SECONDARY"}

false

true (ByPropertyName)

LogArchivedLocators

Specifies the secondary storage system details in a hashtable for each unique primary log storage system resource in the resource group. For example:-LogArchivedLocators @{Primary="my_vs1:my_log_vol";Secondary="my_vs1:my_log_vol_SECONDARY"}

false

true (ByPropertyName)

Examples

Example 1: Cataloging a SCO backup using backupId

 Catalog-SmBackupWithOracleRMAN -PluginCode SCO -BackupId 7

This example syntax catalogs a SCO backup using backupId.

Name: Cataloging Backup(s)
  scspr1894465002_gdl_englab_netapp_com_TSPITRDB_scspr1894465002_08-06-2020_01.13.03.7681_1
Id  : 42
StartTime   : 8/7/2020 1:40:18 AM
EndTime :
IsCancellable   : False
IsRestartable   : False
IsCompleted : False
IsVisible   : True
IsScheduled : False
PercentageCompleted : 0
Description :
Status  : Queued
Owner   :
Error   :
Priority: None
Tasks   : {}
ParentJobID : 0
EventId : 0
JobTypeId   : 28
ApisJobKey  :
ObjectId: 0
PluginCode  : SCO
PluginName  : SnapCenter Plug-in for Oracle Database
HostId  : 0
RoleId  :
JobIds  : {}

Example 2: Cataloging a SCO backup using backupname

 Catalog-SmBackupWithOracleRMAN -PluginCode SCO -BackupName scspr1894465002_gdl_englab_netapp_com_TSPITRDB_scspr1894465002_08-06-2020_04.13.23.4083_1

This example syntax catalogs a SCO backup using backupname.

Name: Cataloging Backup(s)
  scspr1894465002_gdl_englab_netapp_com_TSPITRDB_scspr1894465002_08-06-2020_04.13.23.4083_1
Id  : 44
StartTime   : 8/7/2020 1:45:09 AM
EndTime :
IsCancellable   : False
IsRestartable   : False
IsCompleted : False
IsVisible   : True
IsScheduled : False
PercentageCompleted : 0
Description :
Status  : Queued
Owner   :
Error   :
Priority: None
Tasks   : {}
ParentJobID : 0
EventId : 0
JobTypeId   : 28
ApisJobKey  :
ObjectId: 0
PluginCode  : SCO
PluginName  : SnapCenter Plug-in for Oracle Database
HostId  : 0
RoleId  :
JobIds  : {}

Example 3: Cataloging a SCO data backup from the secondary mirror location

 Catalog-SmBackupWithOracleRMAN -PluginCode SCO -BackupName rg1_galaxy-vm134_08-08-2020_15.11.16.3564_0 -ArchivedLocators @{Primary="buck.gdl.englab.netapp.com:nasvol14";Secondary="squint:buck_nasvol14_mirror"}

This example syntax catalogs a SCO data backup from the secondary mirror location.

Name: Cataloging Backup(s)
  rg1_galaxy-vm134_08-08-2020_15.11.16.3564_0
Id  : 45
StartTime   : 8/7/2020 1:47:09 AM
EndTime :
IsCancellable   : False
IsRestartable   : False
IsCompleted : False
IsVisible   : True
IsScheduled : False
PercentageCompleted : 0
Description :
Status  : Queued
Owner   :
Error   :
Priority: None
Tasks   : {}
ParentJobID : 0
EventId : 0
JobTypeId   : 28
ApisJobKey  :
ObjectId: 0
PluginCode  : SCO
PluginName  : SnapCenter Plug-in for Oracle Database
HostId  : 0
RoleId  :
JobIds  : {}

Example 4: Cataloging a SCO log backup from the secondary vault location

 Catalog-SmBackupWithOracleRMAN -PluginCode SCO -BackupName rg1_galaxy-vm134_08-08-2020_15.11.16.3564_1 -LogArchivedLocators @{Primary="buck.gdl.englab.netapp.com:nasvol13";Secondary="squint:buck_nasvol13_vault"}

This example syntax catalogs a SCO log backup from the secondary vault location.

Name: Cataloging Backup(s)
  rg1_galaxy-vm134_08-08-2020_15.11.16.3564_1
Id  : 46
StartTime   : 8/7/2020 1:50:09 AM
EndTime :
IsCancellable   : False
IsRestartable   : False
IsCompleted : False
IsVisible   : True
IsScheduled : False
PercentageCompleted : 0
Description :
Status  : Queued
Owner   :
Error   :
Priority: None
Tasks   : {}
ParentJobID : 0
EventId : 0
JobTypeId   : 28
ApisJobKey  :
ObjectId: 0
PluginCode  : SCO
PluginName  : SnapCenter Plug-in for Oracle Database
HostId  : 0
RoleId  :
JobIds  : {}

Example 5: Cataloging a SCO data backup for the desired database

 Catalog-SmBackupWithOracleRMAN -PluginCode SCO -BackupName rg1_galaxy-vm134_08-08-2020_15.11.16.3574_0 -AppObjectId 'galaxy-vm134.gdl.englab.netapp.com\DB14'

This example syntax catalogs a SCO backup for the desired database.

Name: Cataloging Backup(s)
  rg1_galaxy-vm134_08-08-2020_15.11.16.3574_0
Id  : 48
StartTime   : 8/7/2020 1:55:09 AM
EndTime :
IsCancellable   : False
IsRestartable   : False
IsCompleted : False
IsVisible   : True
IsScheduled : False
PercentageCompleted : 0
Description :
Status  : Queued
Owner   :
Error   :
Priority: None
Tasks   : {}
ParentJobID : 0
EventId : 0
JobTypeId   : 28
ApisJobKey  :
ObjectId: 0
PluginCode  : SCO
PluginName  : SnapCenter Plug-in for Oracle Database
HostId  : 0
RoleId  :
JobIds  : {}