Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
798 views
in Technique[技术] by (71.8m points)

upgrade - Why Influxdb v2.x has removed v1 backup flags?

In Influxdb v1 backup command was much better as we can specify the time range of backup, but now in Influxdb v2.x backups are operating on "buckets" (the equivalent of database + retention policy ).

This has impacted the systems which were earlier backing up the data on time ranges, but now after the upgrade, they have to depend on retention durations ( 7 days,30 days, etc).

Is there any other way we can backup the Influxdb v2.x data from buckets BUT with TIMERANGE? e.g : i want to take influxdb v2.x data backup between 2021-01-03T08:12:23Z to 2021-01-04T08:12:23Z

influxdb v1 backup command : influxd backup -database dbname -portable -start 2020-11-01T00:00:00Z -end 2020-11-10T00:00:00Z /data/dbname_backup


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...