1
1
1_Robert_12021-05-10 16:30:00
linux
1_Robert_1, 2021-05-10 16:30:00

Cloning a Debian VPS?

Good afternoon, tell a noob. There is a server on Debian with files + DB + Cron. How can I make a copy of it myself on another VPS?
Is there an easy way to take some kind of snapshot and upload it to another VPS?
I'm a complete noob in Linux, it's great if someone shares a link to a simple manual :-)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
alex1478, 2021-05-10
@alex1478

You can boot both systems from a live image, if both hosts allow it, and transfer files from one system to the second with a simple cp -p(-p to preserve attributes), tweak fstab, network settings, grub, or whatever is used there. It is too long to write a detailed instruction and there may be too many pitfalls: for example, one hoster can directly load the kernel without a bootloader (For example, OVH used to have this), and the second one needs a bootloader on the disk. But I gave you the general idea.

D
Denis Yuriev, 2021-05-10
@dyuriev

Is there an easy way to take some kind of snapshot and upload it to another VPS?

Depends on hoster/hypervisor. Rather, almost any hypervisor allows you to create a copy of a virtual server, but not every hoster displays such functionality in its panel.
If you want to perform such a procedure within one hoster, the easiest way is probably to write to technical support

C
CityCat4, 2021-05-12
@CityCat4

Is there an easy way to take some kind of snapshot and upload it to another VPS?

You can make a snapshot anytime and anywhere, but it’s almost impossible to just transfer it to another hoster - no one will fool around with such a question for your sake, except for the case when the technology has already been established with someone.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question