Answer the question
In order to leave comments, you need to log in
How to do a full migration of a FreeBSD 9.3 server?
Hello. There was a need to transfer a physical server running FREEBSD 9.3 to a virtual machine running ESXI 6.0
Actually what I did:
On the physical machine:
dump -0af /usr/home/ /
Got the "dump" file
Then I picked up FreeBSD9.3 on the virtual machine, uploaded the dump file to it to the root.
Then I went to the root directory
cd /
and actually
restore -rf dump
After I got errors, the file type is occupied or cannot create hard link
I don’t understand what to do and how to fix it.
Help please, oh minds of the toaster! :)
Answer the question
In order to leave comments, you need to log in
First, dump is created only within one partition. If you have more than one section in the fra on your hardware (and this is almost 100% true), then you need to dump each section.
Secondly, if you did a dump on a live (running original system, and not from a live cd), then you need to specify the -L -- switch to dump a "live" file system. But here, too, there are a lot of nuances - it all depends on what services you have on the freight. Since databases are transferred in this way, it is fraught with sideways - most likely, they will not work later.
Thirdly, you do not need to install the system on a virtual machine. You need to boot from the Live CD and simply create and format the partitions the way they were on the original server (well, at least each partition must be NOT SMALLER than on the original machine).
And fourthly, if you have ZFS in the original, then this whole scheme does not work for ZFS at all, because the dump cannot backup ZFS, and everything must be done differently there.
1. Having a working server on hand, you can quite easily raise the OS + all the necessary software from scratch on a new one, transfer configs and databases.
2. Look at this recipe: Acronis + VMWare Converter
But my hosting is on PHP 5.2
$message = array(
'username' => '123123',
// ...
);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question