Oracle Database Appliance (ODA) (MOSC)

MOSC Banner

How do I properly remove a snapshotdb created with oakcli?

edited Nov 14, 2016 3:51PM in Oracle Database Appliance (ODA) (MOSC) 3 commentsAnswered ✓

I'm running an ODA x5-2 version 12.1.2.6 installed.

I've got the 'create snapshotdb' working great when I realized there is no 'delete snapshotdb' command.

I tried running 'oakcli delete database -db <dbname>' but that does not remove the directories created by the snapshot.

Checking with 'acfsutil snap info /u02/app/oracle/oradata/datastore' I can see the snapshot.

My assumption is

oakcli delete database -db <dbname>

acfsutil snap delete <snap_name> <mountpoint>

But it would be nice to have another one-liner like the create snapshotdb.

Thanks in advance,

John

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center