Announcement

Collapse
No announcement yet.

Moving servers

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

  • Moving servers

    Im following the guide here http://www.vbulletin.com/docs/html/moving_servers

    I cant get past this problem here. I put the path to the dump on machine 1 and it says no such file or directory.

    ftp> put /home/mysite/backup/jun17.sql
    local: /home/mysite/backup/jun17.sql remote: /home/mysite/backup/jun17.sql
    227 Entering Passive Mode (xxx,xxx,xx,xxx,xxx,6).
    550 /home/mysite/backup/jun17.sql: No such file or directory

  • #2
    That means that the path you are using doesn't exist or there is no file by that name in that directory. Why don't you just upload it to the directory you are in?
    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


    • #3
      The path to the dump is correct though.


      Code:
      [INDENT]bin
      cd [B]/PATH/TO/NEW/DIRECTORY[/B]
      put [B]/PATH/TO/DUMP.SQL[/B]
      [/INDENT]
      I put
      bin
      cd /www
      put /home/MYSITE/backup/mydump.sql

      The dump is there and im using the proper path/file name ect.

      Comment


      • #4
        Did you try not using the path and just uploading the file to the current directory? It dosn't matter which directory it's in.
        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


        • #5
          Just tried that gave same message,

          Comment


          • #6
            Then this error says it all:

            550 /home/mysite/backup/jun17.sql: No such file or directory

            Sorry I don't know what else to recommend.
            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


            • #7
              this is what i dont understand..I put a incorrect path and get this error:


              local: /backup/jun17.sql remote: /backup/jun17.sql
              local: /backup/jun17.sql: No such file or directory

              Then i put the correct path and get this:

              local: /home/mysite/backup/jun17.sql remote: /home/mysite/backup/jun17.sql
              227 Entering Passive Mode (xxx,xxx,xx,xxx,xxx,6).
              550 /home/mysite/backup/jun17.sql: No such file or directory

              Comment


              • #8
                Just to make sure: you are logged in with SSH to your old server?

                Another option would be to download the database backup to your computer with an FTP software and to reupload it with an FTP software to the new server. Some servers also allow server to server transfers...
                Best Regards
                Colin Frei

                Please don't contact me per PM.

                Comment


                • #9
                  yes ssh on old server...I would just download if the backup wasnt so large..Its over a gb.

                  Comment


                  • #10
                    Another option would be to use something like wget on the new server to fetch the data.
                    Here's the wget manual, but I don't know it well enough to tell you exactly what command to use.
                    Best Regards
                    Colin Frei

                    Please don't contact me per PM.

                    Comment


                    • #11
                      After you tar and or gzip your file(s) / folder(s) as long as you have put this file into a publicly accessable directory you can use wget to fetch the file

                      wget http://www.website.com/path/to/file.tar.gz

                      Comment


                      • #12
                        thanks i will try that.. One last question..Any idea why this is putting the same path for both local and remote?

                        local: /home/mysite/backup/jun17.sql remote: /home/mysite/backup/jun17.sql
                        227 Entering Passive Mode (xxx,xxx,xx,xxx,xxx,6).
                        550 /home/mysite/backup/jun17.sql: No such file or directory

                        Im pretty sure that my problem but dont know why its using the same path.

                        Comment


                        • #13
                          what ftp user priveleges are on new server ? can you access files up in /home on new server with that ftp username/password ? did you create /home/mysite/backup

                          assuming jun17.sql exists at /home/mysite/backup on old server

                          try

                          cd /home/mysite/backup
                          ftp newserver.com
                          ftp> cd /newserver/path/thatexists
                          ftp> put jun17.sql
                          :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                          :: Nginx SPDY SSL - World Flags Demo [video results]
                          :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                          Comment

                          Loading...
                          Working...
                          X