2 Intern

 • 

2K Posts

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.

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 ?

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.

No Events found!

Top