Answer the question
In order to leave comments, you need to log in
Is there any way to archive and copy from one server to another on the fly?
Two servers. Each has 2GB RAM and 50 GB disk. On one of them, a directory with small and not very files of 29 GB in size. Simple copying takes a lot of time due to the large number of files. Create an archive for further copying - there is not enough space.
Is it possible to do it in such a way as to archive on the fly and immediately send the stream (or pipe, I don’t know how to put it more correctly) to the network to the second server, and there, on the second server, respectively, unzip it on the fly.
Mapping the directory of one of the servers to another was done via sshfs.
Answer the question
In order to leave comments, you need to log in
serverfault.com/questions/208300/quickest-way-to-t...
personally I would use good old rsync with compression .
Is it possible to do it in such a way as to archive on the fly and immediately send the stream (or pipe, I don’t know how to put it more correctly) to the network to the second server, and there, on the second server, respectively, unzip it on the fly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question