Start a Conversation

Unsolved

This post is more than 5 years old

903

August 22nd, 2017 02:00

Avamar replication duplicate backups on source AVE

Hi,

I'm actually working on replicating an AVE (ave01.example.com) on another AVE (ave02.example.com), not using root-to-root replication but root-to-folder replication.

I'm using the following command in AVE01 to replicate its content

replicate --dstaddr=ave02.example.com --dstid=repluser --dstpassword=****** --fullcopy --srcpath=/ --dstpath=/Replication/ave01/ --hfsaddr=ave01.example.com --dpnname=ave01.example.com

When I launch the command, all the data from ave01 are well copied to ave02 but any backup I have in ave01 are duplicated in ave01 as shown by the API.
Considering a backup with id

0x1d31a5c91089z86:40840c5705cf60697cfe9b3eb2ad4d179314fae6:3001:86c23b6b-f878-409a-a0cf-19b27cb36005


it generates another backup for the same client with id

0x1d31a5c91089z86:40840c5705cf60697cfe9b3eb2ad4d179314fae6:3001::86c23b6b-f878-409a-a0cf-19b27cb36005


The only difference between the 2 ids is the colon wich is doubled just after the plugin id (here 3001).

I can't figure out why this backup is generated and what is wrong with my command resulting in this backup duplication.

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