Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Problem Arise when restore Bak file of one server to another server

Problem Arise when restore Bak file of one server to another server

Scheduled Pinned Locked Moved Database
helpcsharpdatabasesql-server
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rupesh Kumar Swami
    wrote on last edited by
    #1

    hi all, in my application, i use MSSQL express 2005 as backend. when i create backup file from one server (say A) and restore it on same server (A), then it works well. but if i restore the Backup file of Server A to another server (say B), then it give error as following "The Backup set Holds a backup of a database other than the existing 'DatabaseName' database. RESTORE DATABASE is terminating abnormally." on both server instance name and database name is same please suggest how can i resolve this error

    rup28aug@yahoo.co.in Rupesh Kumar Swami Software Developer, Integrated Solution, Bikaner (India) My Company Award: Best VB.NET article of June 2008: Create Column Charts Using OWC11

    L 1 Reply Last reply
    0
    • R Rupesh Kumar Swami

      hi all, in my application, i use MSSQL express 2005 as backend. when i create backup file from one server (say A) and restore it on same server (A), then it works well. but if i restore the Backup file of Server A to another server (say B), then it give error as following "The Backup set Holds a backup of a database other than the existing 'DatabaseName' database. RESTORE DATABASE is terminating abnormally." on both server instance name and database name is same please suggest how can i resolve this error

      rup28aug@yahoo.co.in Rupesh Kumar Swami Software Developer, Integrated Solution, Bikaner (India) My Company Award: Best VB.NET article of June 2008: Create Column Charts Using OWC11

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      before taking backup check some point 1.where the mdf file located(is there any folder which is contain .mdf) 2.when u r creating .bkp file always use overwrite existing file option.

      Thanks and Regards Sujit Kr. Mandal

      R 1 Reply Last reply
      0
      • L Lost User

        before taking backup check some point 1.where the mdf file located(is there any folder which is contain .mdf) 2.when u r creating .bkp file always use overwrite existing file option.

        Thanks and Regards Sujit Kr. Mandal

        R Offline
        R Offline
        Rupesh Kumar Swami
        wrote on last edited by
        #3

        Sujit Mandal wrote:

        1.where the mdf file located(is there any folder which is contain .mdf)

        mdf and ldf file is located on shared folder (for example c:\abc or E:\abc) folder abc is shared which i create programmatically

        Sujit Mandal wrote:

        2.when u r creating .bkp file always use overwrite existing file option.

        i already check whether there are any file with same name. if yes, then first remove it and after that i create backup file

        rup28aug@yahoo.co.in Rupesh Kumar Swami Software Developer, Integrated Solution, Bikaner (India) My Company Award: Best VB.NET article of June 2008: Create Column Charts Using OWC11

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups