Results 1 to 15 of 15
-
06-15-2009, 04:57 PM #1Junior Guru Wannabe
- 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-
-
06-15-2009, 05:00 PM #2Web Hosting Master
- Join Date
- Apr 2009
- Posts
- 604
You can move files/folder through the command line using the sftp or rsync protocol.
-
06-15-2009, 05:02 PM #3Junior Guru
- 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-tricksLast edited by Ceetoe; 06-15-2009 at 05:07 PM.
-
06-15-2009, 05:03 PM #4Junior Guru Wannabe
- 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.-
-
06-15-2009, 05:17 PM #5Web Hosting Master
- 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.
-
06-15-2009, 05:23 PM #6New Member
- Join Date
- Jun 2009
- Posts
- 3
can use netcat ?
-
06-15-2009, 05:24 PM #7Junior Guru
- 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.
-
06-15-2009, 05:26 PM #8Disabled
- Join Date
- Sep 2005
- Location
- A box
- Posts
- 2,051
Here is a Google Cache of the tutorial that they are talking about:
http://74.125.95.132/search?q=cache:...&client=safari
-
06-16-2009, 07:00 AM #9Support Facility
- Join Date
- Jun 2009
- Posts
- 2,335
rsync would be fastest and easiest way to transfer the files.
-
06-16-2009, 08:14 AM #10WHT Addict
- Join Date
- Sep 2008
- Posts
- 164
rsync -azve ssh /name folder xxxnew ip server :/home
Webgater.CoM - Cheap FullyManged Unmetered VPS , Master Reseller ,
Reseller and Webhosting.
Tomer A
-
06-16-2009, 03:18 PM #11Junior Guru Wannabe
- Join Date
- May 2009
- Posts
- 68
-
06-16-2009, 03:29 PM #12Web Hosting Master
- 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 ==
-
06-16-2009, 05:28 PM #13Web Hosting Master
- Join Date
- Mar 2009
- Location
- Minnesota
- Posts
- 700
http://en.wikipedia.org/wiki/Secure_copy
SCP! Works great.█ 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
-
06-16-2009, 06:39 PM #14Junior Guru Wannabe
- 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
Code:wget xxx.xxx.xx.xx/zipfoldernamehere.zip
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.
-
06-21-2009, 08:47 PM #15Junior Guru Wannabe
- Join Date
- May 2009
- Posts
- 68