https://rancher.com/ logo
#longhorn-storage
Title
# longhorn-storage
a

adamant-kite-43734

10/10/2022, 2:02 PM
This message was deleted.
l

late-needle-80860

10/11/2022, 2:21 PM
Anyone please?
n

narrow-egg-98197

10/11/2022, 4:47 PM
You mean create the snapshot with a retention of 1 and backup the data via Velero in case of recovery? If so, I think it would be helpful to clean up disk space by deleting snapshot.
l

late-needle-80860

10/11/2022, 4:56 PM
A pvc backup is done by Velero triggering longhorn via the csi snapshot controller … We’ve not configured any retention in longhorn. As we’re trying to rely on the retention settings of longhorn. There’s already some issues around volume snapshots not being deleted by longhorn automatically on the longhorn GitHub repo — I hope that makes it clearer
*rely on the retention settings of Velero Of course
But, if configuring longhorn with that retention setting helps - because we’re relying on longhorn … then it’s cool
Is there a better place to discuss/debate this question. I would love to land somewhere we here we don’t get unnecessary disk space usage alerts and the like. —- Shouldn’t the backups in longhorn be deleted when Velero deletes a backup? Thank you
n

narrow-egg-98197

10/15/2022, 2:38 PM
I think we're working on enabling snapshots to be cleaned up periodically, which saves disk space occupied by volume snapshots. (Ref. https://github.com/longhorn/longhorn/issues/3836)
l

late-needle-80860

10/15/2022, 7:44 PM
Yeah that’s right. I’ve seen that issue before and I’m tracking it. Nothing else to do then than set up a job that cleans up snapshots. Shouldn’t be a prob. If the snapshots are deleted as the backup data is still there externally - and longhorn do not need this volume snapshot data in the case of a restore right? When the backup system is external to Velero and data stored externally as well? Thanks
Is there any news on when we might see this into a new minted version of Longhorn?
n

narrow-egg-98197

10/17/2022, 2:27 AM
This item is scheduled to be released in v1.4.0 with a release date of December 29th.
🎯 1
18 Views