Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
802 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 Reply

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...