Script to copy database between servers -
the answer spike here needed. hurdle how have backup run on 1 server , restore run on through linked server in 1 script? must script can turned stored procedure that's fed source , destination db names.
does present problem source server sql server express 2012 whereas destination full version?
it has script can run against db changing db name , logical names. it's process that's need run regularly , automatically against different db each time.
also, why wouldn't better detach, copy mdf , ldf, re-attach?
i'd suggest right clicking on database in management studio, clicking tasks generate scripts.
you can script entire database (make sure in advanced options select script both schema , data) , restore on other database.
you can backup 1 instance , onto bear in mind may have issues if you're moving between versions.
transfering ldf/mdf files possible in opinion difficult , high risk.
Comments
Post a Comment