GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   how to tranfer from server to server? (https://gfy.com/showthread.php?t=1169168)

Peace 06-27-2015 11:31 PM

how to tranfer from server to server?
 
What program do we use to transfer from server to server? not copy to my hard drive first?

shake 06-28-2015 12:01 AM

What OS? For Ubuntu or other Linux I use rsync or just ssh in and FTP or wget to avoid transferring locally. It can be really handy if you're transferring huge files.

shake 06-28-2015 12:02 AM

For Windows I connect over rdp and use any FTP program to connect to my other servers for direct transfer.

myleene 06-28-2015 12:11 AM

It really depends on your setup and what you have on it. Each server transfer is unique and needs to be evaluated first.

This gives a general idea of the steps required: How to migrate your website FROM another host TO InMotion Hosting - InMotion Hosting


It lists main steps, but lacks an important one if you switch between a VPS or a dedicated server that is to adjust your server accordingly:
- Install tools you need (FFmpeg, MySQL, Apache, ImageMagick, etc.)
- Adjust your Apache configuration
- Adjust your MySQL configuration
- etc.

I can't recommend you a program or a tool to do it as I don't know what you plan to transfer. You'll need to determine what you'll need or get someone to do it for you.

Kafka 06-28-2015 09:25 AM

rsync or scp when it is Linux.

freecartoonporn 06-28-2015 09:58 AM

server one,
go to your http_doc dir.
tar -zcvf .

it will create a tar file.
move that that file using mv command to http root.

then on new server ,
go to desired location., and do

wget http://domain/tar_file_location

and then
tar -zxvf tarfile name.

use mysqldump tool to get DB dump and then moveth same way.,

dont forget to find and replace the mysqql config .

grep -rnw localhost /path-to-just-extracted-files

dirtymind 06-30-2015 04:15 AM

The above method is correct, but there is a big problem with that and it is that your permissions are all screwed up, which can cause things like 500 internal error or pages not showing up on line. It has to do with the owner and the group of the files. It is key to set them correctly, they might be set to root or apache depending on your server setup.

Barry-xlovecam 06-30-2015 06:34 AM

Quote:

Originally Posted by Kafka (Post 20509942)
rsync or scp when it is Linux.

yep
:thumbsup

BluePanda 06-30-2015 06:35 AM

Quote:

Originally Posted by Kafka (Post 20509942)
rsync or scp when it is Linux.

For sure, just make sure you configure your server properly before you move files.

pornguy 06-30-2015 06:39 AM

I think WSFTP will do it but not sure. It used to.

scarlettcontent 06-30-2015 06:44 AM

ftp .

directfiesta 06-30-2015 06:45 AM

Quote:

Originally Posted by Kafka (Post 20509942)
rsync or scp when it is Linux.

:thumbsup

MrGusMuller 06-30-2015 07:37 AM

rsync

rsync -avzK /originalserver/path/.* [email protected]:/home/

-v, --verbose increase verbosity
-a, --archive archive mode; same as -rlptgoD (no -H)
-z, --compress compress file data during the transfer
-K, --keep-dirlinks

rsync don’t overwrite existing files | digitalwhores


All times are GMT -7. The time now is 07:44 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc