Configure automatic retries on backup command

Hi,

I have a question about InfluxDB backup. I use it in some of bash script and to be sure they work correctly, I create functional tests.
One of them is a backup run of a not running InfluxDB instance, and by default, backup task will retry 10 times, with an increasing interval.

[root@783bf24647d8 crontabs]# mkdir /tmp/foobar; influxd backup -portable -host 127.0.0.1:2345 /tmp/foobar
2019/08/30 06:21:35 backing up metastore to /tmp/foobar/meta.00
2019/08/30 06:21:35 Download shard 0 failed dial tcp 127.0.0.1:2345: connect: connection refused.  Waiting 2s and retrying (0)...
2019/08/30 06:21:37 Download shard 0 failed dial tcp 127.0.0.1:2345: connect: connection refused.  Waiting 2s and retrying (1)...
2019/08/30 06:21:39 Download shard 0 failed dial tcp 127.0.0.1:2345: connect: connection refused.  Waiting 2s and retrying (2)...
2019/08/30 06:21:41 Download shard 0 failed dial tcp 127.0.0.1:2345: connect: connection refused.  Waiting 2s and retrying (3)...
2019/08/30 06:21:43 Download shard 0 failed dial tcp 127.0.0.1:2345: connect: connection refused.  Waiting 2s and retrying (4)...
2019/08/30 06:21:45 Download shard 0 failed dial tcp 127.0.0.1:2345: connect: connection refused.  Waiting 2s and retrying (5)...
2019/08/30 06:21:47 Download shard 0 failed dial tcp 127.0.0.1:2345: connect: connection refused.  Waiting 3.01s and retrying (6)...
2019/08/30 06:21:51 Download shard 0 failed dial tcp 127.0.0.1:2345: connect: connection refused.  Waiting 11.441s and retrying (7)...
2019/08/30 06:22:02 Download shard 0 failed dial tcp 127.0.0.1:2345: connect: connection refused.  Waiting 43.477s and retrying (8)...
2019/08/30 06:22:45 Download shard 0 failed dial tcp 127.0.0.1:2345: connect: connection refused.  Waiting 2m45.216s and retrying (9)...
backup: dial tcp 127.0.0.1:2345: connect: connection refused

With that, my CI jobs have a longer execution time that could be avoided.

I’ve search on the documentation, but I haven’t see any option to configure this automatic retry. Is it exist or how can this be done please ?

Thanks