delphix / dxtoolkit

Scripts that remotely interact with Delphix engine APIs
Apache License 2.0
38 stars 32 forks source link

vdb snapshot none #190

Closed rakhirocky365 closed 2 years ago

rakhirocky365 commented 3 years ago

how can we provision a vPDB using snapshot none policy i tried -snapshot None and also -timestamp None but its is not working

rakhirocky365 commented 3 years ago

using perl script i need to provision a vPDB and for snapshot the value should be none is there any solution for this

marcinops commented 3 years ago

Hi,

VDB needs to have a parent snapshot - you need to provide an information which snapshot is used as a parent. You can specify it by -timestamp parameter and here are the values:

If you need also to setup a Snapshot policy for that VDB during a creation time you can do it by adding a parameter -snapshotpolicy or -snapshotpolicy NONE if there is no policy to set.

rakhirocky365 commented 3 years ago

-snapshotpolicy NONE is not working getting error snapshot policy NONE not found

On Tue, 14 Sep 2021, 18:31 Marcin Przepiorowski, @.***> wrote:

Hi,

VDB needs to have a parent snapshot - you need to provide an information which snapshot is used as a parent. You can specify it by -timestamp parameter and here are the values:

  • LATEST_SNAPSHOT - will use a latest snapshot of parent database (dSource / VDB)
  • LATEST_POINT - to use latest snapshot plus all possible transaction logs
  • "YYYY-MM-DD HH24:MI:SS" to provision to the point in time

If you need also to setup a Snapshot policy for that VDB during a creation time you can do it by adding a parameter -snapshotpolicy or -snapshotpolicy NONE if there is no policy to set.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/delphix/dxtoolkit/issues/190#issuecomment-919127056, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASL2Y4WNX3YY7YAS2PRH7G3UB5BSNANCNFSM5D775BAA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

marcinops commented 3 years ago

I can confirm - it doesn't work in the current release. Could you please let me know what Engine version are you using ? If this bug is stopping your deployment - please reach out to your Delphix CSM / PS contact for escalation.