Snapshot database

  • how to refresh the sanpshot database  with the source database ,  please let me know the script if any ?

  • The process is described in detail here. Which part are you having trouble with?

    The absence of evidence is not evidence of absence
    - Martin Rees
    The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
    - Phil Parkin

  • I think Phil is showing a restore of the database from the snapshot, essentially rewinding time.

    If you want to update what's in the snapshot with new changed data, you cannot. You can drop and recreate the snapshot from the main database.

  • Steve Jones - SSC Editor wrote:

    I think Phil is showing a restore of the database from the snapshot, essentially rewinding time.

    Correct. To be honest, I just assumed that the OP had worded their question poorly. I never even considered the possibility that they might want to update a snapshot!

    The absence of evidence is not evidence of absence
    - Martin Rees
    The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
    - Phil Parkin

  • Thanks

     

  • Phil Parkin wrote:

    Steve Jones - SSC Editor wrote:

    I think Phil is showing a restore of the database from the snapshot, essentially rewinding time.

    Correct. To be honest, I just assumed that the OP had worded their question poorly. I never even considered the possibility that they might want to update a snapshot!

    ... which is also explained in the documentation for database snapshots... it's just a Google lookup away.

     

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply