Hello All,

We are using mlcp copy command to copy content between two databases but we
are facing an issue.

*Problem:*
When we run the command it is able to connect to source database but it
does not read any content hence nothing gets copied.

*What we are doing:*
Here is our command:
./mlcp.sh copy \
  -input_host "source-host" \
  -input_port "8000" \
  -input_username "read-only-user" \
  -input_password "****" \
  -input_database "source-db" \
  -directory_filter "/some-directory/" \
  -output_host "target-host" \
  -output_port "8000" \
  -output_username "admin" \
  -output_password "****" \
  -output_database "target-db"

*What we think is causing problem:*
We think that the user that we are using to connect to source machine does
not have correct privileges. We followed this document [
https://docs.marklogic.com/guide/ingestion/content-pump#id_47736] and
granted [hadoop-user-read] role but still it did not work (mlcp can connect
to source database but cannot read content). The same command works and
copies content if we use admin user to connect to source database.

It is not clear what minimal roles/privileges we need to setup so that
given command will work. Could you please help us?

-Regards,

*Jaydip Rananavare*
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to