R
R
Rinat Bakiev2016-02-04 14:55:46
linux
Rinat Bakiev, 2016-02-04 14:55:46

How to clone VDS?

Hello!
There is a task: to transfer a copy of server 1 (VDS) to a local machine (server 2). On both virtual servers ubuntu server. Unfortunately, the hoster has the Qcow2 virtual machine format, but on the local XEN.
Can you please suggest a way to accurately clone the entire server 1 to server 2? On server 1, there were peculiarities of installing different packages, with which we suffered for a long time, but we don’t remember how we decided :)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
Z
ZLOFENIX, 2016-02-04
@ZLOFENIX

You can transfer the entire system via dd and ssh, for example, although it is better to start the 2nd server from a live disk.

A
Andrey Burov, 2016-02-04
@BuriK666

Qcow2, but on local XEN.

Qcow2 -
XEN Disk Image File Format - Hypervisor.
If you can take a disk image from the host, then what's the problem?

E
Ergil Osin, 2016-02-04
@Ernillew

1. Take the machine from which you make a copy
2. Make a tarball on it with the installed system according to the instructions for stage4 Gentoo (you can change the Gento-specific paths in it that do not save your distributions on the path)
3. Load the second virtual machine with live / rescue
4. Restore from the container according to the same instructions
5. Do a cheat according to the same instructions and install grub
Get a complete copy of your first system in a new location.

D
Dmitry, 2016-02-06
@imert

rsync is a good thing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question