Influxdb v2 backup only last 24 hours on cli bashscipt

Hi
need to create influxdb v2 backup only last 24 hours data in cli bashscipt

any idea?
Thanks

Hello @Indeed_1,
Here are the docks up backup

I dont’ think you can specify the time range of the backup.
How much data are you writing in 24 hours?
I might recommend using a flux task or Client Library to write the data elsewhere.

Hi
@Anaisdg do you have sample backup task?

Thanks