// Module included in the following assemblies:
//
// * backup_and_restore/application_backup_and_restore/backing_up_and_restoring/restoring-applications.adoc
// * backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc

:_mod-docs-content-type: PROCEDURE
[id="oadp-review-backup-restore_{context}"]
= Previewing resources before running backup and restore

[role="_abstract"]
Preview the backup and restore resources in advance by doing a dry run of the backup and restore operations. This helps you to verify which resources will be included before committing to a full backup or restore.

{oadp-short} backs up application resources based on the type, namespace, or label. This means that you can view the resources after the backup is complete. Similarly, you can view the restored objects based on the namespace, persistent volume (PV), or label after a restore operation is complete. 


.Prerequisites

* You have installed the {oadp-short} Operator.

.Procedure

. To preview the resources included in the backup before running the actual backup, run the following command:
+
[source,terminal]
----
$ velero backup create <backup-name> --snapshot-volumes false
----
+
Specify the value of `--snapshot-volumes` parameter as `false`.

. To know more details about the backup resources, run the following command:
+
[source,terminal]
----
$ velero describe backup <backup_name> --details
----
+
Replace `<backup_name>` with the name of the backup.

. To preview the resources included in the restore before running the actual restore, run the following command:
+
[source,terminal]
----
$ velero restore create --from-backup <backup_name>
----
+
Replace `<backup_name>` with the name of the backup.
+
[IMPORTANT]
====
The `velero restore create` command creates restore resources in the cluster. You must delete the resources created as part of the restore, after you review the resources.
====
+
. To know more details about the restore resources, run the following command:
+
[source,terminal]
----
$ velero describe restore <restore_name> --details
----
+
Replace `<restore_name>` with the name of the restore.
