Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7403641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:08:22+00:00 2026-05-29T05:08:22+00:00

I need to copy a database from a remote server to a local one.

  • 0

I need to copy a database from a remote server to a local one. I tried to use SQL Server Management Studio, but it only backs up to a drive on the remote server.

Some points:

  • I do not have access to the remote server in a way that I could copy files;
  • I do not have access to setup a UNC path to my server;

Any ideas of how can I copy this database? Will I have to use 3rd party tools?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T05:08:23+00:00Added an answer on May 29, 2026 at 5:08 am

    In Microsoft SQL Server Management Studio you can right-click on the database you wish to backup and click Tasks -> Generate Scripts.

    This pops open a wizard where you can set the following in order to perform a decent backup of your database, even on a remote server:

    • Select the database you wish to backup and hit next,
    • In the options it presents to you:
      1. In 2010: under the Table/View Options, change ‘Script Data’ and ‘Script Indexes’ to True and hit next,
      2. In 2012: under ‘General’, change ‘Types of data to script’ from ‘Schema only’ to ‘Schema and data’
      3. In 2014: the option to script the data is now “hidden” in step “Set Scripting Options”, you have to click the “Advanced” and set “Types of data to script” to “Schema and data” value
    • In the next four windows, hit ‘select all’ and then next,
    • Choose to script to a new query window

    Once it’s done its thing, you’ll have a backup script ready in front of you. Create a new local (or remote) database, and change the first ‘USE’ statement in the script to use your new database. Save the script in a safe place, and go ahead and run it against your new empty database. This should create you a (nearly) duplicate local database you can then backup as you like.

    If you have full access to the remote database, you can choose to check ‘script all objects’ in the wizard’s first window and then change the ‘Script Database’ option to True on the next window. Watch out though, you’ll need to perform a full search & replace of the database name in the script to a new database which in this case you won’t have to create before running the script. This should create a more accurate duplicate but is sometimes not available due to permissions restrictions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to copy an entire database from a SQL Server 2005 on my
I need to copy several tables from one DB to another in SQL Server
I need to copy the data from one database to another only if the
I need to copy about 40 databases from one server to another. The new
I have data in an SQL Server 2005 database which I need to copy
What is the SQL command to copy a table from one database to another
Using C# (vs2005) I need to copy a table from one database to another.
I need to make a script to copy one particular database role from one
I need to copy data from one database to another with EF. E.g. I
I need to copy large resultset from one database and save it to another

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.