Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
New couchup 1.x -> 2.x database migration tool #483
This commit adds a new Python-based database migration tool,
A typical workflow for a single-node upgrade process would look like:
$ couchup list $ couchup replicate -a $ couchup rebuild -a $ couchup delete -a
A clustered upgrade process would be the same, but must be preceded by
Various optional arguments provide for admin login/password, overriding
Of special note is that
I struggled some with the naming convention. For those in the know, a
Very well done Joan, flexible, but to the point and easy to follow.
I only have a few nits and wiggles. I’m confident in merging this, so +1.
I just haven’t yet had the chance to actually run this locally.
Thanks @janl. I'll correct a few of the more straightforward tweaks today.
I'd like to get feedback from at least a couple of people trying the script (other than me!) before merging, but if no one responds on user@ or dev@ by middle of next week, I'll merge anyway.
Apr 25, 2017
Trying to use the replicate function to migrate my 686GB collection of databases...
First 3-4 databases (about 5GB) work great... but now I get something like this when I try it
/usr/local/couchdb/bin/couchup replicate -l USER -p PASSWORD -t 3600 -f eridu
if I curl http://127.0.0.1:5986/eridu/ ( and add the user and pass ) I get
So the db sure seems to be there... I can go to 5986/_utils and see the db... can view data etc
Please file this as a new issue so we can properly follow this request, not as a comment on the pull request.
Please be sure to paste the exact results of the output. If possible please wrap your paste in triple-backticks, like this:
Sorry for the confusion on my part… I have submitted the new issue. Thanks! Bob Jones 850.251.7485…
On Aug 14, 2017, at 3:36:53:000PM, Joan Touzet ***@***.***> wrote: Please file this as a new issue <https://github.com/apache/couchdb/issues/new> so we can properly follow this request, not as a comment on the pull request. Please be sure to paste the exact results of the output. If possible please wrap your paste in triple-backticks, like this: ``` /usr/local/couchdb/bin/couchup replicate... ``` — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#483 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AApIKoyAT5dwGmCTw6G8SnwuOgwFlZnCks5sYKHUgaJpZM4NCSOx>.