Shorten the name of the backup jobs
This attempts to keep the information that would help identify the
job, but reduce the overall number of characters in it to help with
clusters that have longer names.
Issue:
@@ -79,7 +79,7 @@ func (b BackRestBackupJob) Run() {
return
}
- taskName := fmt.Sprintf("%s-backrest-%s-backup-schedule", b.cluster, b.backupType)
+ taskName := fmt.Sprintf("%s-%s-sch-backup", b.cluster, b.backupType)
result := crv1.Pgtask{}
found, err = kubeapi.Getpgtask(restClient, &result, taskName, b.namespace)
