Hi
I’m using fdbbackup in non continuous mode, backup
snapshot every hour. Backup consumes quite a lot CPU. I want to try continuous backup mode (fdbbackup start -z), to reduce CPU usages.
Fdbbackup is deployed as Job in K8s. As fdbbackup now continuous run, if I deploy Job again (e.x. when upgrade system), the command will fail.
The current running backup will be unaffected, but my new deploy Job status will be failed. To avoid that, I try to check whether a backup processe with specific tag is running, if already run, skip fbdbackup start
.
My question:
How to check whether a backup process with specific tag is running?
One way is use fdbbackup status
then parse the output message, but I think there’s other ways.