When you say "the API", are you referring to the REST API?
The replicate command is part of the legacy cron-based replicator. I recommend you try using plugin-based replication and see if the behaviour persists.
Thanks for the answer. Yes I'm referring to the REST API when talking about API =)
Actually I see replication more like a snapshot of my AVE. Will plugin-based replication allow me to replicate users, datasets, policies, etc.?
Also during my searches on replication I saw the mccli replicate command, but it didn't allowed me to specify source & destination folders. Same goes when using REST API replication policy, maybe I'm missing something there ?
ionthegeek
2 Intern
•
2K Posts
1
August 22nd, 2017 06:00
When you say "the API", are you referring to the REST API?
The replicate command is part of the legacy cron-based replicator. I recommend you try using plugin-based replication and see if the behaviour persists.
lordweedlledev
3 Posts
0
August 22nd, 2017 08:00
Hi Ian,
Thanks for the answer.
Yes I'm referring to the REST API when talking about API =)
Actually I see replication more like a snapshot of my AVE.
Will plugin-based replication allow me to replicate users, datasets, policies, etc.?
Also during my searches on replication I saw the mccli replicate command, but it didn't allowed me to specify source & destination folders. Same goes when using REST API replication policy, maybe I'm missing something there ?
lordweedlledev
3 Posts
0
August 25th, 2017 02:00
Hi Ian,
I've tried using plugin-based replication.
I'm creating dataset, policy, schedule, etc. using REST API.
I call [POST] https://api-url.com/policy/REPLICATION_POLICY_ID/action/replicate
It always generates errors, but the second call creates every entity on destination server each time.
But now I only got a question, how can I restore all these entities back on my source server ?
I don't see on MCCLI any command which can make this.