Announcement

Collapse
No announcement yet.

Moving servers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    George L
    Former vBulletin Support

  • George L
    replied
    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

    Leave a comment:

  • stroke25
    New Member

  • stroke25
    replied
    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.

    Leave a comment:

  • Zachery
    Former vBulletin Support

  • Zachery
    replied
    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

    Leave a comment:

  • Colin F
    Senior Member

  • Colin F
    replied
    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.

    Leave a comment:

  • stroke25
    New Member

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

    Leave a comment:

  • Colin F
    Senior Member

  • Colin F
    replied
    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...

    Leave a comment:

  • stroke25
    New Member

  • stroke25
    replied
    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

    Leave a comment:

  • Steve Machol
    Former Customer Support Manager

  • Steve Machol
    replied
    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.

    Leave a comment:

  • stroke25
    New Member

  • stroke25
    replied
    Just tried that gave same message,

    Leave a comment:

  • Steve Machol
    Former Customer Support Manager

  • Steve Machol
    replied
    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.

    Leave a comment:

  • stroke25
    New Member

  • stroke25
    replied
    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.

    Leave a comment:

  • Steve Machol
    Former Customer Support Manager

  • Steve Machol
    replied
    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?

    Leave a comment:

  • stroke25
    New Member

  • stroke25
    started a topic Moving servers

    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
Loading...
Working...
X