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

great-photographer-94826

05/24/2022, 2:49 PM
Hi all! I would like to make a Recurring Job which saves all PVC in my namespace. It is good idea when I add labels (e.g namespace longhorn-test)? How can I achieve it?
f

famous-journalist-11332

05/25/2022, 10:40 PM
No, setting the label is just for informational data about the snapshots/backups created by this recurring job. You can achieve your goal by: Option 1: 1. Create a new recurring job and create new storageclass that select the above recurring job. See instruction at document 2. Create PVC in your namespace using the above storageclass Option 2: UI 1. Create a recurring job group in the
Recurring Job
tab in UI 2. Go to volume tab in UI, filter all volume by your namespace 3. Go to each volume and set the above recurring job group for the volume.
86 Views