Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

SQL Server VSS: Is is Possible to restore a SQL database through VSS with different name, diff file location and renamed files from VSS backup.

$
0
0

HI ,

I have taken a VSS SQL server database backup.

My requirement is to restore the database with a different name, all files to different location with  all files renamed.

Is it possible to do it.

I am able to change the file location and name during pre-restore but unable to change the files names(specs ) name as part of pre-restore changes.(using API AddNewtarget and SetRestoreOptions)

I found a vss API IVssComponent::AddDirectedTarget which does the similar things but in most of the forum its used for partial file restore and also no proper documentation found how to use it.

Can somebody answer if we can restore a MSSQL vss component with different name, files to different location with  all files renamed.

If yes, how can we achieve the same.

Thanks

Mi2


Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>