Datenbank URL: https: // username $: [email protected]$REMOTE_USERNAME.Cloudant.com/$DATABASE_NAMEReplizieren eine entfernte Datenbank von Bluemix
Was ist der Wert von $ NUTZERNAME ist, $ password, $ REMOTE_USERNAME?
Die aktuelle Cloudant Konto:
VCAP_SERVICES
{
"cloudantNoSQLDB": [
{
"credentials": {
"username": "c39cexxx-bluemix",
"password": "xxxxxxx",
"host": "c39cexxx-bluemix.cloudant.com",
"port": 443,
"url": "https://c39cexxx-bluemix:[email protected]"
},
}
]
}
The other Cloudant accounts in a database
VCAP_SERVICES
{
"cloudantNoSQLDB": [
{
"credentials": {
"username": "f39c4xxx-bluemix",
"password": "xxxxxxx",
"host": "f39c4xxx-bluemix.cloudant.com",
"port": 443,
"url": "https://f39c4xxx-bluemix:[email protected] bluemix.cloudant.com"
},
}
]
}
Bitte geben ein Beispiel für eine entfernte Datenbank von Bluemix replizieren.
@Olivia: Haben Sie das seit einiger Zeit nicht mehr versucht, aber es gibt auch ein Cloud-Foundry-CLI-Plugin (https://github.com/ibmjstart/bluemix-cloudant-replicator), das für Sie nützlich sein könnte . –
Vielen Dank! Chris Schnee. – Olivia
Nr. Wenn das für dich Olivia funktioniert hat, akzeptiere bitte die Antwort und eine Aufwertung wäre auch nett :) –