Unable to restore a longhorn volume #1537
-
|
Hi When the restore is performed, the PVC that shall receive the data created by volsync gets stuck in pending with the following event from the volsync-controller: Here is the ReplicationDestination: and the PVC created: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
@aacebedo It sounds like you are using the volume populator feature of VolSync (your PVC This means volsync will wait for a replication on your replicationdestination to have completed and a latest volume snapshot created. It will only work if you are using copyMode If you are using copyMode Some more detail: With Direct mode, you probably want to set This exact scenario is the one documented in the restic database example in the docs, take a look particularly at the "Restoring a backup" section, and hopefully it explains it in more detail: https://volsync.readthedocs.io/en/stable/usage/restic/database_example.html |
Beta Was this translation helpful? Give feedback.
@aacebedo It sounds like you are using the volume populator feature of VolSync (your PVC
searxng-confighas a dataSourceRef that points to your replicationdestination).This means volsync will wait for a replication on your replicationdestination to have completed and a latest volume snapshot created. It will only work if you are using copyMode
Snapshotas the purpose of the volume populator is to easily populate the snapshot on the replicationdestination into a useable PVC.If you are using copyMode
Directthen you can simply use your destination PVC directly, no need to use the volume populator.Some more detail: With Direct mode, you probably want to set
destinationPVCin your replicat…