URGENT: How do I transfer my 30mb database to a new host?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dsites
    Member
    • Jul 2004
    • 51
    • 3.0.3

    URGENT: How do I transfer my 30mb database to a new host?

    I have to change hosts because mine is shutting down. I found my new host, but my database is 30mb and I can't transfer that big database through phpmyadmin. I tried cutting it apart into smaller files so it can be uploaded, and mysql has a huge fit on the new host. I cannot figure this out, can I do to get my huge database transferred to my new host?
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    The only reliable method of backing up and restoring a database is with shell access via telnet or ssh. Please see the instructions here:

    Backup:


    Restore:


    This is because backing up with a PHP script like that in the Admin CP or phpMyAdmin can result in PHP timeouts errors and an incomplete backup file.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • Jake Bunce
      Senior Member
      • Dec 2000
      • 46598
      • 3.6.x

      #3
      Ideally you should have shell access to the old and new server. Then you can backup and restore the database using shell commands. See the manual:

      Comment

      • dsites
        Member
        • Jul 2004
        • 51
        • 3.0.3

        #4
        I don't think I have access to SSH on my new host.

        Comment

        • Andy Huang
          Senior Member
          • Feb 2004
          • 4602

          #5
          You can get the SQL package using SSH, then upload it using FTP to the new host; finally, use a custom script or something to execute the massive SQL... Though, I don't know if it'll work or not.
          Best Regards,
          Andy Huang

          Comment

          • dsites
            Member
            • Jul 2004
            • 51
            • 3.0.3

            #6
            Can I download the database through phpmyadmin and upload it with SSH?

            Comment

            • Zachery
              Former vBulletin Support
              • Jul 2002
              • 59097

              #7
              SSH is just access to the shell, if you have downloaded the database with phpmyadmin (which it may not be complete). You then upload the file via ftp to the new host, login with SSH, and restore it.

              Comment

              • Dennis Olson
                Senior Member
                • Oct 2002
                • 2789

                #8
                30 Meg! (LOL)

                My backup last night (compressed tarball) was 3.6 Gb....

                Comment

                • dsites
                  Member
                  • Jul 2004
                  • 51
                  • 3.0.3

                  #9
                  I'm pretty sure the database is complete. I asked my current host for access to SSH and he said that I can't do it because he leases server space and he'll have to send in a drivers licence copy and a whole bunch of crap. I really don't even know how to use SSH.

                  Comment

                  • Umut Ceylan
                    Senior Member
                    • Dec 2004
                    • 273
                    • 3.8.x

                    #10
                    you can try this program and split your database and upload in pieces with phpmyadmin
                    Last edited by Umut Ceylan; Thu 17 Feb '05, 2:59pm.

                    Comment

                    • dsites
                      Member
                      • Jul 2004
                      • 51
                      • 3.0.3

                      #11
                      Thank you so much, I knew there had to be a program like that some where!

                      Comment

                      • Umut Ceylan
                        Senior Member
                        • Dec 2004
                        • 273
                        • 3.8.x

                        #12
                        you can try this program ? and what is sql pieces size?

                        Comment

                        • daveconz
                          Member
                          • Sep 2004
                          • 79
                          • 3.0.3

                          #13
                          I'm sure you don't want to hear this but I would strongly recommend a different host. You really need shell access and any half-decent hosting plan will give it to you.
                          dave.co.nz

                          Comment

                          • dsites
                            Member
                            • Jul 2004
                            • 51
                            • 3.0.3

                            #14
                            I used that program, and I tried uploading the pieces on my server since I already cancelled the host I had. Anyway, when I went to upload the pieces (I made them 2mb each) the first one went fine, and the rest of them say No SQL after phpmyadmin finished uploading the file.

                            I'm looking for a host with shell access, but so far the only one I found costs to much.

                            Comment

                            • Rastus
                              Member
                              • Jun 2004
                              • 83
                              • 5.5.x

                              #15
                              Try hostony.com

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...