Longhorn: [Question] More explanation about the usage of fromBackup parameter in the StorageClass

Created on 20 Mar 2020  路  4Comments  路  Source: longhorn/longhorn

Hello,

Could you provide some explanations and samples (nfs and s3) about the usage of fromBackup parameter please ?
https://github.com/longhorn/longhorn/blob/dc89143faa4cfbad7e62c161ac57db022282d2c7/chart/templates/storageclass.yaml#L16
Today we can not use some value for that parameter in the chart installation step !

Regards.

question

Most helpful comment

@anouarchattouna yes. PVC itself doesn't provide a way to specify parameters per volume. Though in the future after we implement https://github.com/longhorn/longhorn/issues/304 , we should at least able to specify backup per PV.

All 4 comments

You can get URL from Longhorn UI -> Backup page -> Backup -> GetURL dropdown.

It will look like

s3://bucket@us-east-1/backupstore?backup=backup-6ece719d075540a1&volume=pvc-8ec99071-4f91-11ea-9e3d-f23c91575520

And what it does actually. Create all new volumes from that backup ?

@anouarchattouna yes. PVC itself doesn't provide a way to specify parameters per volume. Though in the future after we implement https://github.com/longhorn/longhorn/issues/304 , we should at least able to specify backup per PV.

Thank you

Was this page helpful?
0 / 5 - 0 ratings