Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: support migrate data to another database #18

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

xiangyu5632
Copy link
Member

@xiangyu5632 xiangyu5632 commented Dec 19, 2023

support write data to another database when migrating
change the usage:
./dataMigrate run --from /var/lib/influxdb/data --to ip:port --database db0 --dest_database db3
./dataMigrate run --from /var/lib/influxdb/data --to ip:port --database db0 --dest_database db0

src/dataMigrate.go Outdated Show resolved Hide resolved
cmd/root.go Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@shilinlee shilinlee force-pushed the wrtie_to_other_database branch 2 times, most recently from 7f82ef7 to 687bbc7 Compare December 26, 2023 13:55
@shilinlee shilinlee merged commit 0a263ad into main Dec 26, 2023
3 checks passed
@shilinlee shilinlee deleted the wrtie_to_other_database branch December 26, 2023 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants