• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Oracle question: copying a database

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Oracle question: copying a database

    Have this tiny database on an Oracle 9i: 20 odd tables, some sequences and stored procedures, about 3Gb of data.

    I want to copy it onto another machine, and just start using it.

    Had a go with that exp and imp stuff, but looks like somethings were in the middle of transactions, also the sequences went back to zero. Well, I asked the DBA to do an exp for me. I asked them to type:
    Code:
    exp system/manager file="c:\temp\exp.dmp"  full=Y
    .

    Client won't let me at the database for the seconds it takes to do the exp, so have to do it by request via the DBA.

    So was the above command incorrect? What should I have asked them to type?
    Insanity: repeating the same actions, but expecting different results.
    threadeds website, and here's my blog.

    #2
    that looks fine.
    just one thing: are they typing this in DOS or UNIX? If DOS, then they need to specify which database it is e.g. system/manager@databasename
    Chico, what time is it?

    Comment


      #3
      I was just to going to say the same thing but rebecca beat me to it.
      I'm alright Jack

      Comment


        #4
        Originally posted by BlasterBates
        I was just to going to say the same thing but rebecca beat me to it.
        I often fantasise about Rebecca beating me........IGMC
        I am not qualified to give the above advice!

        The original point and click interface by
        Smith and Wesson.

        Step back, have a think and adjust my own own attitude from time to time

        Comment


          #5
          Blaster, what's this cardboard box at the back of KingsX business?
          Chico, what time is it?

          Comment


            #6
            Isn't that silly, it seems to have printed part of my profile....

            hmmm

            I'm alright Jack

            Comment


              #7
              Result

              The DBAs etc., gone for lunch, went in and did it myself. Just imported onto the new machine and everything is working fine.

              I recon the DBA must have had finger troubles with the first one...
              Insanity: repeating the same actions, but expecting different results.
              threadeds website, and here's my blog.

              Comment

              Working...
              X