Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
9661971
OADP-3617: Backing up and Restoring VMs - OADP
anarnold97 Mar 2, 2024
6a656c5
Updating Mar14@19:41
anarnold97 Mar 14, 2024
40d97ad
Update 15Mar@00:00
anarnold97 Mar 15, 2024
d9d3536
Update backup_and_restore/application_backup_and_restore/installing/b…
anarnold97 Mar 15, 2024
557a769
Updating
anarnold97 Mar 28, 2024
b4ede3f
Updating
anarnold97 Mar 28, 2024
a2d76c6
updating
anarnold97 Apr 8, 2024
ec52fb8
Update backup_and_restore/application_backup_and_restore/installing/b…
anarnold97 Apr 8, 2024
ab7d4fb
Update backup_and_restore/application_backup_and_restore/installing/b…
anarnold97 Apr 8, 2024
2040aad
Update backup_and_restore/application_backup_and_restore/installing/b…
anarnold97 Apr 8, 2024
247904c
Update backup_and_restore/application_backup_and_restore/installing/b…
anarnold97 Apr 8, 2024
673a1ef
Update backing-up-restoring-vms-using-oadp.adoc
anarnold97 Apr 8, 2024
c5b4840
Updating
anarnold97 Apr 8, 2024
97591f1
Merge branch 'main' into OADP-3617-BackingUp-
anarnold97 Apr 8, 2024
bdf0370
Update backing-up-vms-using-oadp.adoc
anarnold97 Apr 8, 2024
eb9643d
Update backing-up-vms-using-oadp.adoc
anarnold97 Apr 8, 2024
b390a41
Update backup_and_restore/application_backup_and_restore/installing/b…
anarnold97 Apr 9, 2024
dab6e25
Update backup_and_restore/application_backup_and_restore/installing/b…
anarnold97 Apr 9, 2024
f9d39f5
Update backup_and_restore/application_backup_and_restore/installing/b…
anarnold97 Apr 9, 2024
a67d3d6
Updating
anarnold97 Apr 22, 2024
ed5a9c2
Updating
anarnold97 Apr 22, 2024
da8b7fd
Update modules/oadp-installing-dpa-1-3.adoc
anarnold97 Apr 22, 2024
7ef29f7
Revert "Update modules/oadp-installing-dpa-1-3.adoc"
anarnold97 Apr 22, 2024
1817d89
Merge branch 'main' into OADP-3617-BackingUp-
anarnold97 Apr 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions _topic_maps/_topic_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4188,14 +4188,14 @@ Topics:
Topics:
- Name: Backup and restore by using VM snapshots
File: virt-backup-restore-snapshots
- Name: Installing and configuring OADP
File: virt-installing-configuring-oadp
# - Name: Installing and configuring OADP
# File: virt-installing-configuring-oadp
- Name: Backing up and restoring virtual machines
File: virt-backup-restore-overview
- Name: Backing up virtual machines
File: virt-backing-up-vms
- Name: Restoring virtual machines
File: virt-restoring-vms
# - Name: Backing up virtual machines
# File: virt-backing-up-vms
# - Name: Restoring virtual machines
# File: virt-restoring-vms
- Name: Disaster recovery
File: virt-disaster-recovery
# - Name: Collecting OKD Virtualization data for community report
Expand Down
12 changes: 6 additions & 6 deletions _topic_maps/_topic_map_osd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1655,14 +1655,14 @@ Topics:
Topics:
- Name: Backup and restore by using VM snapshots
File: virt-backup-restore-snapshots
- Name: Installing and configuring OADP
File: virt-installing-configuring-oadp
# - Name: Installing and configuring OADP
# File: virt-installing-configuring-oadp
- Name: Backing up and restoring virtual machines
File: virt-backup-restore-overview
- Name: Backing up virtual machines
File: virt-backing-up-vms
- Name: Restoring virtual machines
File: virt-restoring-vms
# - Name: Backing up virtual machines
# File: virt-backing-up-vms
# - Name: Restoring virtual machines
# File: virt-restoring-vms
# - Name: Collecting OKD Virtualization data for community report
# File: virt-collecting-virt-data
# Distros: openshift-origin
15 changes: 9 additions & 6 deletions _topic_maps/_topic_map_rosa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1896,14 +1896,17 @@ Topics:
Topics:
- Name: Backup and restore by using VM snapshots
File: virt-backup-restore-snapshots
- Name: Installing and configuring OADP
File: virt-installing-configuring-oadp
# - Name: Installing and configuring OADP
# File: virt-installing-configuring-oadp
- Name: Backing up and restoring virtual machines
File: virt-backup-restore-overview
- Name: Backing up virtual machines
File: virt-backing-up-vms
- Name: Restoring virtual machines
File: virt-restoring-vms
# - Name: Backing up virtual machines
# File: virt-backing-up-vms
# - Name: Restoring virtual machines
# File: virt-restoring-vms
# - Name: Collecting OKD Virtualization data for community report
# File: virt-collecting-virt-data
# Distros: openshift-origin
# - Name: Removed topics (Placeholder for topics removed from topic map)
# Dir: Removed_topics
# Topics:
Expand Down
6 changes: 3 additions & 3 deletions modules/oadp-installing-dpa-1-3.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You install the Data Protection Application (DPA) by creating an instance of the
* You must configure object storage as a backup location.
* If you use snapshots to back up PVs, your cloud provider must support either a native snapshot API or Container Storage Interface (CSI) snapshots.
* If the backup and snapshot locations use the same credentials, you must create a `Secret` with the default name, `{credentials}`.
ifdef::installing-oadp-azure,installing-oadp-gcp,installing-oadp-mcg,installing-oadp-ocs,virt-installing-configuring-oadp[]
ifdef::installing-oadp-azure,installing-oadp-gcp,installing-oadp-mcg,installing-oadp-ocs,installing-oadp-kubevirt,virt-installing-configuring-oadp[]
* If the backup and snapshot locations use different credentials, you must create two `Secrets`:

** `Secret` with a custom name for the backup location. You add this `Secret` to the `DataProtectionApplication` CR.
Expand Down Expand Up @@ -363,8 +363,8 @@ spec:
<6> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.
<7> The administrative agent that routes the administrative requests to servers.
<8> Set this value to `true` if you want to enable `nodeAgent` and perform File System Backup.
<9> Enter `kopia` or `restic` as your uploader. You cannot change the selection after the installation. For the Built-in DataMover you must use Kopia. The `nodeAgent` deploys a daemon set, which means that the `nodeAgent` pods run on each working node. You can configure File System Backup by adding `spec.defaultVolumesToFsBackup: true` to the `Backup` CR.
<10> Specify the nodes on which Kopia or Restic are available. By default, Kopia or Restic run on all nodes.
<9> Enter `kopia` as your uploader, to use the Built-in DataMover. The `nodeAgent` deploys a daemon set, which means that the `nodeAgent` pods run on each working node. You can configure File System Backup by adding `spec.defaultVolumesToFsBackup: true` to the `Backup` CR.
<10> Specify the nodes on which Kopia are available. By default, Kopia run on all nodes.
<11> Specify the backup provider.
<12> Specify the correct default name for the `Secret`, for example, `cloud-credentials-gcp`, if you use a default plugin for the backup provider. If specifying a custom name, then the custom name is used for the backup location. If you do not specify a `Secret` name, the default name is used.
<13> Specify a bucket as the backup storage location. If the bucket is not a dedicated bucket for Velero backups, you must specify a prefix.
Expand Down
48 changes: 48 additions & 0 deletions modules/oadp-kubevirt-setting-resource-limits-and-requests.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// Module included in the following assemblies:
//
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-kubevirt.adoc


:_mod-docs-content-type: CONCEPT
[id="oadp-kubevirt-setting-resource-limits-and-requests_{context}"]
= Velero CPU and memory resource allocations for {VirtProductName}

You set the CPU and memory resource allocations for the `Velero` pod by editing the `DataProtectionApplication` custom resource (CR) manifest.

.Prerequisites

* You must have the OpenShift API for Data Protection (OADP) Operator installed.

.Procedure

* Edit the values in the `spec.configuration.velero.podConfig.ResourceAllocations` block of the `DataProtectionApplication` CR manifest, as in the following example:
+
[source,yaml]
----
apiVersion: oadp.openshift.io/v1alpha1
kind: DataProtectionApplication
metadata:
name: <dpa_sample>
spec:
...
configuration:
velero:
podConfig:
nodeSelector: <node selector> <1>
resourceAllocations: <2>
limits:
cpu: "1"
memory: 1024Mi
requests:
cpu: 200m
memory: 256Mi
----
<1> Specify the node selector to be supplied to Velero podSpec.
<2> The `resourceAllocations` for backing up {VirtProductName} are most lkely to be more resource intensive than backing up containers. It is advisable to increase the memory and cpu limits.


[NOTE]
====
Kopia is an option in OADP 1.3 and later releases. You can use Kopia for file system backups, and Kopia is your only option for Data Mover cases with the built-in Data Mover.
====

65 changes: 0 additions & 65 deletions virt/backup_restore/virt-backing-up-vms.adoc

This file was deleted.

14 changes: 0 additions & 14 deletions virt/backup_restore/virt-restoring-vms.adoc

This file was deleted.