Restore from a Backup
Longhorn can easily restore backups to a volume.
For more information on how backups work, refer to the concepts section.
When you restore a backup, it creates a volume of the same name by default. If a volume with the same name as the backup already exists, the backup will not be restored.
To restore a backup,
You can then create the PV/PVC from the volume after restoring a volume from a backup. Here you can specify the storageClassName
or leave it empty to use the storageClassName
inherited from the PVC of the backup volume. The StorageClass
should be already in the cluster to prevent any further issue.
Result: The restored volume is available on the Volume page.
© 2019-2024 Longhorn Authors | Documentation Distributed under CC-BY-4.0
© 2024 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.