You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/management_and_operations/backups/veeam.rst
+16-43Lines changed: 16 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Veeam Backups
6
6
7
7
Veeam is a backup and recovery software that provides data protection and disaster recovery solutions for virtualized environments. The OpenNebula oVirtAPI Server allows to backup OpenNebula VMs from the Veaam interface.
A server should be configured to expose both the Rsync backup datastore and the oVirtAPI Server. This server should be accessible from all the clusters that you want to be able to back up.
37
+
A server should be configured to expose both the Rsync backup datastore and the oVirtAPI Server. This server should be accessible from all the clusters that you want to be able to back up via the management network shown in the architecture diagram. The oVirtAPI Server is going to act as the communication gateway between Veeam and OpenNebula.
38
38
39
-
First, the oneadmin user should be created in the backup server. This user will be used to run the oVirtAPI module and should have passwordless access to qemu-nbd commands. You must also enable the NBD kernel module and change the ownership of the NBD devices to the oneadmin user. This can be done by running the following commands:
40
-
41
-
.. prompt:: bash $ auto
42
-
43
-
# Create oneadmin user and allow it to run passwordless qemu-nbd commands
The next step is to create a backup datastore in OpenNebula. This datastore will be used by the oVirtAPI module to handle the backup of the virtual machines before sending the backup data to Veeam. You can choose to use either a :ref:`Rsync Datastore <vm_backups_rsync>` or an :ref:`Restic Datastore <vm_backups_restic>`. The following sections will describe how to create each of them.
75
43
76
-
.. note::TODO: These steps will probably change once packaging is finished.
The backup datastore must be created in the backup server configured in step 1. Also remember to add this datastore to any cluster that you want to be able to back up.
80
47
81
-
The steps to configure an Rsync datastore are detailed in :ref:`Backup Datastore: Rsync <vm_backups_rsync>`. This datastore should be deployed in the backup server configured in step 1. Also remember to add this datastore to any cluster that you want to be able to back up.
48
+
**Rsync Datastore**
82
49
83
50
Here is an example to create an Rsync datastore in a host named "backup-host" and then add it to a given cluster:
84
51
@@ -103,13 +70,19 @@ Here is an example to create an Rsync datastore in a host named "backup-host" an
103
70
# Add the datastore to the cluster with "onecluster adddatastore <cluster-name> <datastore-name>"
104
71
onecluster adddatastore somecluster VeeamDS
105
72
73
+
You can find more details regarding the Rsync datastore in :ref:`Backup Datastore: Rsync <vm_backups_rsync>`.
In order to install the oVirtAPI module, you need to have the OpenNebula repository configured in the backups server. You can do this by following the instructions in :ref:`OpenNebula Repositories <repositories>`. Then, follow the steps below:
110
83
111
84
1. Install the ``opennebula-ovirtapi`` package in the backup server.
112
-
2. Change the ``f_ip`` variable in the configuration file ``/etc/one/ovirtapi/ovirtapi-server.yml`` and make sure it points to your OpenNebula front-end address.
85
+
2. Change the ``one_xmlrpc`` variable in the configuration file ``/etc/one/ovirtapi/ovirtapi-server.yml`` and make sure it points to your OpenNebula front-end address.
113
86
3. You must also place a certificate at ``/etc/one/ovirtapi/ovirtapi-ssl.crt`` or generate one with:
114
87
115
88
.. prompt:: bash $ auto
@@ -130,5 +103,5 @@ To add OpenNebula as a hypervisor to Veeam, configure it as an oVirt KVM Manager
0 commit comments