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

allow specification of source/target under a different name #47

Open
janl opened this issue Dec 22, 2018 · 0 comments
Open

allow specification of source/target under a different name #47

janl opened this issue Dec 22, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@janl
Copy link
Contributor

janl commented Dec 22, 2018

At the moment, the -u parameter specifics both the CouchDB instance that the _replicat[e|or] endpoint is used as well as the full URL for the source and target database you want to migrate.

I have a scenario where I want to run couch-continuum on a CouchDB instance that isn’t available to the public, and I also don’t want to install c-c on the machine that runs CouchDB. So I’m setting up an ssh tunnel, and try to target that, e.g. couch-continuum -N db_name -u http://127.0.0.1:11000.

This will make c-c fail because it will create a replication from http://127.0.0.1:1100/npm to http://127.0.0.1:1100/npm_temp_copy which won’t work because 127.0.0.1:11000 is only valid on the machine that initiated the ssh tunnel.

I tried using couch-continuum -N https://private-cluster-domain/db_name -u http://127.0.0.1:11000 but that then fails because that private-cluster-domain isn’t available to the machine that c-c runs on, so it can’t do its utility checks.

I’m not sure if this is our of scope for c-c, but I wanted to leave this here.

@janl janl added enhancement New feature or request good first issue Good for newcomers labels Dec 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants