---
title: "Manage replication tasks"
sidebar_label: "Manage replication tasks"
sidebar_position: 2
description: "How to create a replication or reverse replication task, and how to delete a task"
---

import Formbricks from '@theme/MDXComponents/Formbricks'
import ShieldOkIcon from '@selectel/docux/icons/shield-ok'

# Manage replication tasks

You can manage replication tasks from your cloud or the Selectel cloud. This instruction covers managing tasks from the Selectel cloud.

## Create a replication task \{#create-replication-job}

For more information on setting up replication, refer to the [Create a Protection](https://docs.vmware.com/en/VMware-vCloud-Availability/3.0/com.vmware.vcav.user.guide.doc/GUID-4A868001-AD5F-478B-83CE-AF59179FC814.html) section of the VMware documentation.

1. From the [control panel](https://my.selectel.ru/vmware/), open the Cloud Director panel: in the top menu, click **Products** → **VMware-based cloud** → the **Cloud Director** section.

2. In the **Menu**, select **Availability**.

3. Go to the **Incoming Replications**.

4. Click <ShieldOkIcon /> ( \*\*New protection \*\*).

5. At the **Cloud vApps and VMs** step in the **Source site** field, select the primary site from which the virtual machines will be replicated.

6. Select the virtual machines you want to replicate. They must be powered on—as long as a virtual machine is powered off, its replication will not start.

7. Click **Next**.

8. At the **Destination VDC and Storage policy** step, select the virtual data center in the Selectel cloud where the replication will take place.

9. Select a [storage policy](/public-cloud/about/about-public-cloud.mdx#clusters) that corresponds to your virtual data center.

10. Click **Next**.

11. At the **Settings** step, specify the RPO value; for more details, see the [Recovery Point Objective](https://docs.vmware.com/en/vSphere-Replication/8.4/com.vmware.vsphere.replication-admin.doc/GUID-84FAF645-1C65-413D-A89B-70DBA0990631.html) documentation from VMware. When choosing a value, consider the infrastructure requirements: if you have a slow internet connection or a large amount of changed data on the primary virtual machine, the RPO value should be increased.

12. Toggle **Enable retention policy** and configure the policy for creating and storing virtual machine copies:

    * **Instances** — the number of replication instances to be stored simultaneously;
    * **Distance** — the frequency of creating copies in the units from the **Unit** field;
    * **Unit** — time unit (hours, days, months, etc.).

13. Optional: to set the time of the first synchronization, in the **Delay start synchronization** block, turn on the toggle and specify the date and time of the first virtual machine synchronization on the primary and backup sites.

14. Optional: to exclude individual disks from replication and save disk space on the backup site, turn on the toggle in the **Exclude disks** block.

15. Optional: if a copy of the virtual machine being replicated already exists in the Selectel cloud and you want to synchronize it with the virtual machine on the primary site, turn on the toggle in the **Configure Seed VM** block and specify the target machine.

16. Click **Next**.

17. If you turned on the toggle in the **Configure Seed VM** block, select the virtual machine copies for synchronization at the **Seed VM** step.

18. If you turned on the toggle in the **Exclude disks** block, mark the disks that need to be replicated at the **Replicated Disks** step.

19. At the **Ready to complete** step, check the settings and click **Finish**. Creating a replication task will take some time.

## Create a reverse replication task \{#create-reverse-replication-job}

After [failover](/draas/manage/failover.mdx) you can configure reverse replication — from the backup site (Selectel cloud) to your primary site. To do this, the replication task used for the failover must be in the **Failed-Over** status.

Virtual machines will remain accessible during reverse replication.

For more information on reverse replication tasks, see the [Perform a Reverse Task](https://docs.vmware.com/en/VMware-vCloud-Availability/3.0/com.vmware.vcav.user.guide.doc/GUID-1CF2A10A-5791-4E46-AAD5-CC554C859782.html) section of the VMware documentation.

1. From the [control panel](https://my.selectel.ru/vmware/), open the Cloud Director panel: in the top menu, click **Products** → **VMware-based cloud** → **Cloud Director** section.
2. In the **Menu** menu, select **Availability**.
3. Go to the **Incoming Replications** section.
4. Select the task for the virtual machine that was replicated.
5. In the **All actions** menu, select **Reverse**.
6. Click **Reverse**.
7. In the new task on the **Cloud vApps and VMs** tab, the primary site and virtual data centers will be selected automatically.
8. Configure the remaining parameters as when [creating a replication task](#create-replication-job).

## Delete a replication task \{#delete-replication-job}

1. From the [control panel](https://my.selectel.ru/vmware/), open the Cloud Director panel: in the top menu, click **Products** → **VMware-based cloud** → **Cloud Director** section.
2. In the **Menu** menu, select **Availability**.
3. Go to the **Incoming Replications** section.
4. Select the task for the virtual machine that was replicated.
5. In the **All actions** menu, select **Delete replication**.
6. Click **Delete**.

<Formbricks />
