M
M
Michael2020-01-05 17:26:39
System administration
Michael, 2020-01-05 17:26:39

Is it possible to use rsync to copy a server to another machine?

Hey!

The situation is this:

There is a VPS on Hetzner and everything is set up and working.

The fact is that a slightly cheaper and twice the best offer for hardware has appeared, I want to move to another VPS and geographically closer to the Russian Federation (Finland)
But there is one big BUT.
Everything works in KVM. Accordingly, everything is tough, especially SSD. That's the problem with the SSD.
According to the old tariff, I have 100 GB
. In the new one, 80 GB.
There is about 10 GB of useful information.
They did it very cleverly, and simply by creating an image of the machine, you can’t transfer it to a new project - it won’t fit stupidly (the old image is 100 GB and the space on the new machine is 80)

The question is how to get out of the situation? Is it possible, having created a new VM on the same OS (ubuntu server 16.04), to transfer file-by-file data to a new machine using rsyc or another simple and proven technology?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alex1478, 2020-01-05
@alex1478

Download both VPS from live iso. On the new server, format the entire disk, mark it up. Copy with a simple cp all the files from the old server to the new one. Edit fstab, network settings, install bootloader.

D
Dimonchik, 2020-01-05
@dimonchik2013

simple and proven technology

rsync is exactly like that,
alas - Linux is not like that, it resists, if you can push everything from the other to a working one,
you can push off from here , but it’s easier to sync the date, and the /etc etc configs manually, manually posting the same services
and about Docker for the future

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question