Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.13 KB

Module_5_2.md

File metadata and controls

40 lines (25 loc) · 1.13 KB

MODULE 5 - PROTECT & RESTORE ORACLE DATABASE FROM POWERSHELL

LESSON 2 - VIEW ORACLE COPIES

In this lesson, we will learn how to view and manage Oracle copies on the Protection Storage, including extending the retention period of an existing backup.

Identify our Asset

DatabaseName: oracl

$Asset=Get-PPDMassets -type ORACLE_DATABASE -filter 'name eq "orcl"'
$Asset
# Note you can also add the Server name if you have multiple DB Assets with te same Name...
# $Asset=Get-PPDMassets -type ORACLE_DATABASE -filter 'details.database.clusterName eq "oracle01.demo.local" and name eq "orcl"'

Alt text

Get your Asset Copies

To get all Copies of an asset, or use custom filters, use Get-PPDMassetcopies

$Asset | Get-PPDMassetcopies | ft

Alt text

For the latest copy of an asset, use

$Asset | Get-PPDMlatest_copies

Alt text

TLDR

<<Module 5 Lesson 1 This Concludes Module 5 Lesson 2 Module 5 Lesson 3>>