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. Copy database from one remote environment to development environment

Copy database from one remote environment to development environment

Scheduled Pinned Locked Moved Database
sysadminquestiondatabasebeta-testingworkspace
10 Posts 7 Posters 0 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.
  • V Offline
    V Offline
    vkEE
    wrote on last edited by
    #1

    Hello! We are trying to refresh our development environment with data from QA server. Our QA server is located outside our network in a remote location. What is the easiest way to copy over data from QA server to our development server? Currently, following the back up database, and trying to copy over that file to restore it. any other way? Many thanks!!

    T L 2 Replies Last reply
    0
    • V vkEE

      Hello! We are trying to refresh our development environment with data from QA server. Our QA server is located outside our network in a remote location. What is the easiest way to copy over data from QA server to our development server? Currently, following the back up database, and trying to copy over that file to restore it. any other way? Many thanks!!

      T Offline
      T Offline
      Tim Carmichael
      wrote on last edited by
      #2

      It has been my experience that, although painful, doing a backup and then a copy or FTP is the best solution available. I have previously been required to back up the production database and sent it via FTP to the vendor to reproduce a given problem.

      D J 2 Replies Last reply
      0
      • T Tim Carmichael

        It has been my experience that, although painful, doing a backup and then a copy or FTP is the best solution available. I have previously been required to back up the production database and sent it via FTP to the vendor to reproduce a given problem.

        D Offline
        D Offline
        David Mujica
        wrote on last edited by
        #3

        Yep. I agree with Tim. :thumbsup: 1) backup the database 2) FTP it to the desired location 3) restore database You may want to perform a data compression on the backup, but sometimes it doesn't really compress.

        A 1 Reply Last reply
        0
        • D David Mujica

          Yep. I agree with Tim. :thumbsup: 1) backup the database 2) FTP it to the desired location 3) restore database You may want to perform a data compression on the backup, but sometimes it doesn't really compress.

          A Offline
          A Offline
          Amol_B
          wrote on last edited by
          #4

          :thumbsup: Perfect, i also follow that

          1 Reply Last reply
          0
          • T Tim Carmichael

            It has been my experience that, although painful, doing a backup and then a copy or FTP is the best solution available. I have previously been required to back up the production database and sent it via FTP to the vendor to reproduce a given problem.

            J Offline
            J Offline
            jschell
            wrote on last edited by
            #5

            Agree. Zip/compress it before send also.

            Richard DeemingR 1 Reply Last reply
            0
            • J jschell

              Agree. Zip/compress it before send also.

              Richard DeemingR Offline
              Richard DeemingR Offline
              Richard Deeming
              wrote on last edited by
              #6

              7-zip usually seems to produce smaller results than regular zip files. On one server, it compressed a 1.3Gb backup file to 55Mb, which took the nightly FTP transfer down from 7 hours to around 15 minutes.


              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

              "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

              V 1 Reply Last reply
              0
              • Richard DeemingR Richard Deeming

                7-zip usually seems to produce smaller results than regular zip files. On one server, it compressed a 1.3Gb backup file to 55Mb, which took the nightly FTP transfer down from 7 hours to around 15 minutes.


                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                V Offline
                V Offline
                vkEE
                wrote on last edited by
                #7

                Yes, once zipped - the file size from 2 GB has come down to 850MB. I am trying to do a copy of the file from remote server, literal right click copy, and right click paste on to my laptop. I keep losing the connection. If we use a FTP tool, would this be the same issue, of losing the file transfer connection? Thanks for all the ideas and suggestions.

                Richard DeemingR J 2 Replies Last reply
                0
                • V vkEE

                  Yes, once zipped - the file size from 2 GB has come down to 850MB. I am trying to do a copy of the file from remote server, literal right click copy, and right click paste on to my laptop. I keep losing the connection. If we use a FTP tool, would this be the same issue, of losing the file transfer connection? Thanks for all the ideas and suggestions.

                  Richard DeemingR Offline
                  Richard DeemingR Offline
                  Richard Deeming
                  wrote on last edited by
                  #8

                  FTP tends to be more robust than copy+paste in Explorer. However, if you have underlying network problems, you'll still have problems with FTP transfers. I'd be inclined to give 7zip[^] a go - the maximum compression settings will take a bit longer, but they should be able to get the file size down a lot further.


                  "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                  "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                  1 Reply Last reply
                  0
                  • V vkEE

                    Yes, once zipped - the file size from 2 GB has come down to 850MB. I am trying to do a copy of the file from remote server, literal right click copy, and right click paste on to my laptop. I keep losing the connection. If we use a FTP tool, would this be the same issue, of losing the file transfer connection? Thanks for all the ideas and suggestions.

                    J Offline
                    J Offline
                    jschell
                    wrote on last edited by
                    #9

                    vkEmerson wrote:

                    I keep losing the connection.

                    With a one-shot you just keep trying. But if this needs to happen on a frequent basis then you should look into getting a restartable transfer mechanism in place.

                    1 Reply Last reply
                    0
                    • V vkEE

                      Hello! We are trying to refresh our development environment with data from QA server. Our QA server is located outside our network in a remote location. What is the easiest way to copy over data from QA server to our development server? Currently, following the back up database, and trying to copy over that file to restore it. any other way? Many thanks!!

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

                      great question. i've been having similar problems myself. addictive medications medication mistakes prescription addiction what to do for an overdose prescription narcotic abuse effects of addiction addiction signs and symptoms signs and symptoms of overdose what are symptoms of overdose what are the signs of overdose prescription drug abuse what are the side effects of painkillers

                      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