For dSource snapshot to ingest full backup, you can try.
"dx_snapshot_db.exe -d <Engine name> -type dSource -name <dSource name> -usebackup yes"
or "dx_snapshot_db.exe -d <Engine name> -type dSource -name <dSource name> -backupuuid $UUID -usebackup yes"
get the UUID of latest full backup using query and pass it onto the above command
------------------------------
Neeraj Tharwani
TDM Engineer
PricewaterhouseCoopers LLP (PwC)
------------------------------
Original Message:
Sent: 12-10-2024 10:21:03 AM
From: Chris Patton
Subject: dxtoolkit to refresh dsource using the latest full backup
Hi All, I have tried using the following to refresh a dsource:
dx_refresh_db -d <engine> -name <database> -type dsource -timestamp LATEST_SNAPSHOT
...but I got the following message without a refresh:
"You can't refresh dSource <database>"
Even though there are documented parameters for dsource type it doesn't seem this works against a dsource? Hoping to find a dxtoolkit command to refresh a particular dsource from the most recent full backup.
We are using Windows and SQL Server.
------------------------------
Chris Patton
Sr. Database Administrator
CalOptima Health
------------------------------