transfer_disk_with_netcat
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | transfer_disk_with_netcat [2015/08/15 22:56] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | Recently I had to move some VPSes from one server to another, as the old server was being shut down (new cheaper and faster host). To minimize the downtime, I took data from one LVM volume and put it directly in the LVM of the new server. | ||
+ | Receiving side: | ||
+ | < | ||
+ | **Explanation: | ||
+ | * I use " | ||
+ | * I set up a listening netcat socket on port 19000, awaiting data from the " | ||
+ | * I decompress incoming data from netcat with pigz (" | ||
+ | * Finally I put the decompressed data into the new LVM volume with " | ||
+ | |||
+ | Sending side: | ||
+ | < | ||
+ | **Explanation: | ||
+ | * I read the data with dd | ||
+ | * I compress it with pigz | ||
+ | * I then use netcat to send the data. | ||
+ | |||
+ | **NOTE:** You need to start the " |
transfer_disk_with_netcat.txt · Last modified: 2015/08/15 22:56 by 127.0.0.1