Best way to transfer all files to another VPS

Status
This thread has been locked.

Hannes

I make stuff move
Supreme
Feedback score
75
Posts
4,227
Reactions
2,124
Resources
0
So I've got my VPS for almost a year now and the price isn't really the one that I can pay every month which is why I'm switching to another provide *cough* Lord Flo reply on discord *cough* anyways, I obviously have to transfer all my files and such so I'm wondering, is there an easy way to do this?
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Phineas

phineas.io
Premium
Feedback score
8
Posts
281
Reactions
124
Resources
0
Someone told me a while back that you can't just transfer all the data and place it on the new server, does that sound right?
You shouldn't transfer the whole server, no - especially if you're transferring between hosts (that's risky - you'd have to create an image of the server and it can get messed up easily). You should just choose specific directories where your server, database(s), or other useful data is stored. It won't be hard to re-install apt components again.
 

Hannes

I make stuff move
Supreme
Feedback score
75
Posts
4,227
Reactions
2,124
Resources
0
You shouldn't transfer the whole server, no - especially if you're transferring between hosts (that's risky - you'd have to create an image of the server and it can get messed up easily). You should just choose specific directories where your server, database(s), or other useful data is stored. It won't be hard to re-install apt components again.
Ah, that's what I was thinking, anyways, thanks for the help.
 

Hannes

I make stuff move
Supreme
Feedback score
75
Posts
4,227
Reactions
2,124
Resources
0
If you still need help with this, I suggest you to mount the two servers with SSHFS/SFTP

You can either let me do this for you, or you can use google a guide. As stated before, I wouldn't move the entire server over, just the directory. To aid in the transfer, I suggest zipping up what you want to move over and it will take a fraction of the time. Both rsync and cp will work.
Interesting, I'll keep you in mind!
 

Hannes

I make stuff move
Supreme
Feedback score
75
Posts
4,227
Reactions
2,124
Resources
0
Get like FileZilla if it's windows and drag it all to where you need to. I helped someone use dropbox one time to move their business files to their main computer, that's a good way too (Dropbox).
I know how to do it like transfer the files but I was unsure about the best way and the directories that should be transferred.
 

Valentino

Future president
Supreme
Feedback score
22
Posts
196
Reactions
94
Resources
0
Zip your files and upload to web server, and than download zip files to new VPS.
Message me I'll do it for rep.
 

Hannes

I make stuff move
Supreme
Feedback score
75
Posts
4,227
Reactions
2,124
Resources
0
Zip your files and upload to web server, and than download zip files to new VPS.
Message me I'll do it for rep.
Isn't it just easier to transfer the zip file between the two servers without needing to move them to the web directory?
 

Valentino

Future president
Supreme
Feedback score
22
Posts
196
Reactions
94
Resources
0
Isn't it just easier to transfer the zip file between the two servers without needing to move them to the web directory?
I think it isn't problem to move a file. It takes 2 sec to write a command. :p
 

Valentino

Future president
Supreme
Feedback score
22
Posts
196
Reactions
94
Resources
0
But the file takes awhile to move if it's 20 gb, Phineas said that I should use scp, then I don't have to rely on a webserver, right?
If file is zip it won't take more than 15 sec to move. I don't know about scp.
Uploading and downloading it from web server is the easy way.
 
Status
This thread has been locked.
Top