G
G
goooooch2015-06-07 18:08:23
1C-Bitrix
goooooch, 2015-06-07 18:08:23

How to transfer a 200GB website from one VPS to another?

Good afternoon.
There is a site on Bitrix. Together with all caches and uploads, it weighs 200GB. You need to clone it from one VPS to another. What is the fastest way to arrange a move? Suggestions like "don't bring cache folders with you", etc. not suitable, because everything needs to be transferred.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
K
kompi, 2015-06-07
@kompi

mysqldump and rsync

S
sim3x, 2015-06-07
@sim3x

ssh [email protected] "tar czf - /some/dir"  |  tar xzf -

there will be a load on the disk and cpu, less traffic - if you remove z then there will be no load on the cpu, but the traffic will be spent in full
there will be no consistency if /some/dir is frequently updated

F
Fedor Laktionov, 2015-06-10
@megat72

I think that direct copying via ssh will be the easiest:
The command should be run from the machine where you want to transfer the site. To increase the speed, of course, you can pre-pack the directory (but this is additional gestures, time and space [for another portion of at least 150-200GB]).
I transferred a large Canadian portal to Amazon (to Virginia servers) in this way. The speed between servers was about 11MB, so 200GB, unpackaged, should teleport in 5 hours.
Try to measure at least the speed between your servers first.

V
Vlad Zhivotnev, 2015-06-10
@inkvizitor68sl

first the sim3x option , then rsync, then turn off the web server on the first vps and the second rsync. Well, copy the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question