<commit_before>---
title: Migrate to Hosted Engine
authors: didi
wiki_title: Migrate to Hosted Engine
wiki_revision_count: 8
wiki_last_updated: 2014-12-03
---

# Migrate to Hosted Engine

An example showing how to migrate an existing engine installation to [ Self Hosted Engine](Features/Self_Hosted_Engine), using backup/restore.

## Preparations

I had in the dns an A record 'ovirttest.home.local' and a CNAME record my-engine.home.local pointing to ovirttest.

I installed fedora 19 on a host (actually a VM) with hostname 'ovirttest'.

I installed, using the nightly repo, ovirt-engine on ovirttest, ran 'engine-setup', and input as FQDN for the engine 'my-engine.home.local'.

Now I wanted to migrate this installation to hosted engine.

## Backup existing engine

I ran a backup. On ovirttest:

      # engine-backup --mode=backup --file=backup1 --log=backup1.log

## Hosted engine deploy - part one
<commit_msg>Added a link for backup/restore<commit_after>---
title: Migrate to Hosted Engine
authors: didi
wiki_title: Migrate to Hosted Engine
wiki_revision_count: 8
wiki_last_updated: 2014-12-03
---

# Migrate to Hosted Engine

An example showing how to migrate an existing engine installation to [ Self Hosted Engine](Features/Self_Hosted_Engine), using [ backup/restore](Ovirt-engine-backup).

## Preparations

I had in the dns an A record 'ovirttest.home.local' and a CNAME record my-engine.home.local pointing to ovirttest.

I installed fedora 19 on a host (actually a VM) with hostname 'ovirttest'.

I installed, using the nightly repo, ovirt-engine on ovirttest, ran 'engine-setup', and input as FQDN for the engine 'my-engine.home.local'.

Now I wanted to migrate this installation to hosted engine.

## Backup existing engine

I ran a backup. On ovirttest:

      # engine-backup --mode=backup --file=backup1 --log=backup1.log

## Hosted engine deploy - part one

{'fraction_non_alphanumeric': 0.08244680851063829, 'fraction_numerical': 0.013829787234042552, 'mean_word_length': 4.2395543175487465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7655464', 'n_tokens_mistral': 617, 'n_tokens_neox': 578, 'n_words': 234}