[Improvement] Specify backup/restore PORT by name #7229
Labels
area/data-protection
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
kind/enhancement
New feature or request
Descriptions
When a backup job is created, some built-in ENVs will be injected into the backup JOB to perform a BACKUP task. Such envs are not not limited to:
- name: DP_DB_HOST value: mycluster-mysql-comp-0.mycluster-mysql-comp-headless - name: DP_DB_PORT value: "3306"
The full list of ENVs can be found in :
kubeblocks/pkg/dataprotection/types/constant.go
Line 82 in 6ef3c13
These ENVs are inferred from target cluster (say on which cluster to do backup).
e.g.
Since release 0.9, ConnectionCredential is deprecated. we'd better as as useer to
The text was updated successfully, but these errors were encountered: