backup sql database from win forms
iam getting an error"The backup set holds a backup of a database other than the existing database."
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Minnu Merin AlexPosted Apr 21, 2016, 12:41 AM
Manas MohapatraPosted Apr 21, 2016, 12:22 AM
WITH REPLACEwhile using theRESTOREcommandFROM DISK = 'C:\BackupAdventureworks.bak'
Deletethe older database which is conflicting and restore again usingRESTOREcommand.Nishant MittalPosted Apr 21, 2016, 12:21 AM
.bakfile on to it.Minnu Merin AlexPosted Apr 21, 2016, 12:18 AM
Nishant MittalPosted Apr 21, 2016, 12:14 AM