Results 1 to 15 of 15
  1. #1
    Join Date
    Apr 2009
    Posts
    38

    How to transfer files from VPS to VPS?

    I don't have a control panel, and my Webmin panel won't be available until my domain has propagated. it's not working through the IP, and I need to transfer all of my files from one VPS to the other.

    How can I do this?
    Can I like create FTP accounts in SSH?

    thanks in advance
    -

  2. #2
    Join Date
    Apr 2009
    Posts
    604
    You can move files/folder through the command line using the sftp or rsync protocol.

  3. #3
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    244
    If you're not afraid to try using the command line, you can easily use SCP(secure copy over SSH).

    Here's a quick/basic tutorial and then you don't have deal with FTP.



    http://www.linuxtutorialblog.com/pos...to-tips-tricks
    Last edited by Ceetoe; 06-15-2009 at 05:07 PM.


  4. #4
    Join Date
    Apr 2009
    Posts
    38
    Edit - webmin/usermin now works..but I can't seem to find the FTP accounts place.

    I'll try this SCP thing.

    edit2- the above link isn't working.
    -

  5. #5
    Join Date
    Sep 2005
    Location
    Canada
    Posts
    646
    scp works like this:

    scp -r /localdir xxx.xxx.xxx.xxx:/remotedir

    where xxx.xxx.xxx.xx is the address of the remote server.
    VPSVille.com
    Toronto, London, Dallas, Los Angeles
    Quality VPS hosting on Premium bandwidth

  6. #6
    can use netcat ?

  7. #7
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    244
    Sorry the link doesn't seem to work for you. Anyway, from the tutorial here's the pertinent line for you...copy from one vps to the other vps.

    scp -r yourusername@yourserver:/home/yourusername/examplefile yourusername2@yourserver2:/home/yourusername2/
    Last edited by Ceetoe; 06-15-2009 at 05:26 PM. Reason: Added the recursive parameter for the command.


  8. #8
    Here is a Google Cache of the tutorial that they are talking about:
    http://74.125.95.132/search?q=cache:...&client=safari

  9. #9
    rsync would be fastest and easiest way to transfer the files.
    SUPPORT FACILITY | 24/7 TECH SUPPORT
    SERVER MANAGEMENT | WEB HOSTING SUPPORT | WP EXPERTS

  10. #10
    rsync -azve ssh /name folder xxxnew ip server :/home
    Webgater.CoM - Cheap FullyManged Unmetered VPS , Master Reseller ,
    Reseller and Webhosting.
    Tomer A

  11. #11
    Join Date
    May 2009
    Posts
    68
    Quote Originally Posted by webgater Network View Post
    rsync -azve ssh /name folder xxxnew ip server :/home
    Can you please explain it ? Example, if i want to backup /home/admin folder, how to do it ? And how to restore in new vps?

  12. #12
    Join Date
    Feb 2005
    Location
    United Kingdom
    Posts
    3,476
    if you are the cPanel control panel user, you can easy migrate all accounts from one server to another.
    Explore our outstanding VPS choices tailored to your budget, and we welcome reasonable offers.
    VPS Price Match Guarantee on: All our range of DDOS protected XEN HVM VPS
    == Contact us for any online solution development or managed / unmanaged vps hosting ==

  13. #13
    Join Date
    Mar 2009
    Location
    Minnesota
    Posts
    700
    madgenius.com - S Corp. We are US based company.
    Web Hosting, Cloud VPS, and Dedicated Solutions since 1998
    Also offering custom solutions and automated provisioning for most services

  14. #14
    Join Date
    Mar 2009
    Posts
    62
    you could zip all of your /home/admin directory then upload it to your web root folder then through SSH on the new server. Use the following commands
    Command 1
    Code:
    cd /home/admin
    Command 2
    Code:
    wget xxx.xxx.xx.xx/zipfoldernamehere.zip
    Where xxx.xxx.xx.xx is replace that with the old server IP
    Where zipfoldernamehere.zip is replace that with the link to the zip file containing your /home/admin files.
    That will work if you are on a *Unix server to download the /home/admin zip files.

  15. #15
    Join Date
    May 2009
    Posts
    68
    Quote Originally Posted by Tyler_Husted View Post
    you could zip all of your /home/admin directory then upload it to your web root folder then through SSH on the new server. Use the following commands
    Command 1
    Code:
    cd /home/admin
    Command 2
    Code:
    wget xxx.xxx.xx.xx/zipfoldernamehere.zip
    Where xxx.xxx.xx.xx is replace that with the old server IP
    Where zipfoldernamehere.zip is replace that with the link to the zip file containing your /home/admin files.
    That will work if you are on a *Unix server to download the /home/admin zip files.
    Hmm, one my fold of /home/admin have size is 5GB. Both my old and new server is 32-bit operating linux. How to zip it ?

    Thank.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •