APIPythonOpen-Source Solutions

  • 1.  Has anyone done an automation to take snapshot from dSource to vdb?

    Posted 07-08-2016 06:51:00 AM
    I need to find a way to automate the creation of snapshot from dSource to vdb? Has anyone done this?


  • 2.  RE: Has anyone done an automation to take snapshot from dSource to vdb?
    Best Answer

    Posted 07-08-2016 07:32:00 AM
    Ciao Carla,

    what do you mean with "creation of snapshot from dSource to vdb"? This is a composite task that comprises:
    1. Snapshot of the dSource (Delphix Engine get a new backup of the source)
    2. Refresh on the vdb (Delphix Engine copies the data from the last backup (step 1) into the vdb.

    Is this what you mean?
    If so you can automate in two ways:
    Regards.
    Gianpiero




  • 3.  RE: Has anyone done an automation to take snapshot from dSource to vdb?
    Best Answer

    Posted 07-08-2016 10:01:00 AM
    I have several such examples on my blog: http://therealcloudsurgeon.com


  • 4.  RE: Has anyone done an automation to take snapshot from dSource to vdb?

    Posted 07-11-2016 01:02:00 AM
    unfortunately, I cannot open your blog site due to our company policy. you have link i can download a doc or something? thanks for the reply though!


  • 5.  RE: Has anyone done an automation to take snapshot from dSource to vdb?

    Posted 07-11-2016 01:05:00 AM
    I have a dSource that is refreshed daily. I have a vdb that is a child of this dSource. my dSource is refreshed daily but its child vbd is not. is there a way to automate this? I m still grappling going the CLI way. do you have a prepared script that i can change some variables? thanks for reply and the time too!


  • 6.  RE: Has anyone done an automation to take snapshot from dSource to vdb?

    Posted 07-11-2016 07:00:00 AM
    If you want automate a periodic refresh of a VDB, you can use simply the refresh policies on the VDB (select "Manage" > "Policies" and select a policy for you vdb in the 4th column "VDB refresh".

    Anyway, I'd like to make clear the terms used for dSources and VDBs, if you agree.

    To make sure that your dSource is up to date with external linked DB, you have to snapshot it (you can schedule periodic snapshot with the snapshot policies). If you enable also LogSync you can get any "frame" of your DB between two snapshots and so your dSource is continuosly updated with your external linked DB.

    To copy fresh data from the dSource into your VDB copy, you can do a refresh on VDB from the latest point of the timeflow of your dSource.

    In few words, what you need is:
    dSource -> snapshot
    vDB -> refresh

    And you can schedule periodic snapshots and periodic refresh through policies (Selecting "Manage" > "Policies" from the main menu).

    Best Regards.
    Gianpiero


  • 7.  RE: Has anyone done an automation to take snapshot from dSource to vdb?

    Posted 07-11-2016 01:10:00 PM


  • 8.  RE: Has anyone done an automation to take snapshot from dSource to vdb?

    Posted 07-11-2016 01:12:00 PM
    In addition to a snapshot example, I also cover refresh examples:
    http://blog.delphix.com/bowen/

    But, if you want to do this on a time cadence, then you can use policies, like Gianpiero said.