TruthAndBeauty
Technical User
My SQL database ("Site1db"
is backed up to disk and automatically given a name that includes a timestamp (i.e., Site1db200201222130.bak"
. I want to use the latest backup file forsite1db to restore a similar db ('Site2db"
at a different location.
To setup a job to restore "Site2db" I need to be able to identify the latest Site1db backup file as the source file for the backup.
I'm investigating the system tables for a solution. Perhaps there are Command codes. Any suggestions are appreciated????
Thanks for taking the time.
Robert
To setup a job to restore "Site2db" I need to be able to identify the latest Site1db backup file as the source file for the backup.
I'm investigating the system tables for a solution. Perhaps there are Command codes. Any suggestions are appreciated????
Thanks for taking the time.
Robert