UNSOLVED

Steve_MelbAU

updated

8 years ago

S

Steve_MelbAU

1 Rookie

•

12 Posts

0

5459

November 20th, 2018 21:00

Is it possible to copy a backup job in Avamar?

Hi all,

As I understand, Avamar can only do backup and restore, as it only has Avamar nodes as the target storage medium.

But now it support Data Domain too, so question is:

1. can we manually copy old backups (written to Avamar nodes) to Data Domain?

2. can we manually copy old backups writtne to a DD, to another new DD storage?

I'm actually doing migration of an Avamar systems, we are moving the data from one DD to a new one at different site and may decommission the old DD. Avamar server is a VE, thus can be easily moved to new site, but when I check the documents, you can only do replication from one Avamar to another, with each Avamar has a DD connectioned.

So if we don't want to setup another Avamar on new site, can be move the data from one DD to another, inside the same Avamar grid?

Hope I made it clearly,

Thanks and regards,

Steve

  • Pawan_Kumawat

    1 Rookie

    •

    46 Posts

    3592

    1

    Posted November 28th, 2018 03:00

    Hi Steve,

    1. can we manually copy old backups (written to Avamar nodes) to Data Domain?

         No. The data format written on Avamar is not same as Data Domain. So basically you can not manually move Avamar backup data to Data Domain.

    2. can we manually copy old backups writtne to a DD, to another new DD storage?

           Yes, you can do this. It can be done by using DD replication. Depending on your requirement, you can use Directory/ Mtree/Collective replication. Once replication is completed, you need to delete the replication pair, and you can start using your destination DD/Directory/Mtree as normal.

    Please let us know if you need more information on this.

    Regards,

    Pawan Kumawat

  • Steve_MelbAU

    1 Rookie

    •

    12 Posts

    3592

    1

    Posted November 29th, 2018 14:00

    The question then come:

    I know Avamar stores meta data, which points to the data on the old DD.

    If you use DD replication, data cloned on new DD, then how would Avamar knows where is it?

    This has to be done under Avamar's management, thus it will copy/update the meta data relate to the data on new DD.

    I found something in Avamar document about it, seems a new feature introduced from Avamar 7.2, called "Replicas at source", in page 249 on Avamar 7.5 admin guide.

    Enable Replicas at source option, then Avamar can replicate backup jobs from one DD to another, which will do DD replication and then create meta data for new backup replica.

    Did not test it yet, but I think I've found the answer of my question.

    Will update it here when I start to do it, and if I found any surprises.

    Cheers,

    Steve

  • Pawan_Kumawat

    1 Rookie

    •

    46 Posts

    3592

    0

    Posted December 1st, 2018 05:00

    Hi Steve,

    After reading your latest comments, I got better understanding on your requirement.


    You mentioned to copy Avamar backups manually to DD and I assumed you are mentioning to copy mtree data and use it.


    I think in your case, you can integrate second DD to existing Avamar. You can actually do replication to same Avamar. you need to use advance option --checkservers=false in replication set. And then you should make new DD as default DD or you should use storage mapping option to add 2nd DD as replication target storage.

    Regards,

    Pawan Kumawat

  • Steve_MelbAU

    1 Rookie

    •

    12 Posts

    3592

    0

    Posted December 2nd, 2018 21:00

    Hi Pawan,

    So "Replicas at source"  is not for this "internal replication between DDs on same Avamar", right?

    Not sure why I misunderstood, read the document again, seems I got it wrong... 

    So just setup replication with "--checkservers=false" it should do it on same Avamar?

    Not sure about the other steps you mentioned "then you should make new DD as default DD or you should use storage mapping option to add 2nd DD as replication target storage"

    Is there any document with detailed steps for this? I searched EMC web site and just could not find anything, everything is talking about replication between 2 Avamar zones.

  • Steve_MelbAU

    1 Rookie

    •

    12 Posts

    3597

    0

    Posted December 2nd, 2018 21:00

    So once add the 2nd DD to Avamar and set it as default storage, to do the replication we just set source and target server as same host name of Avamar right? and user ID the same too?

    Say we test it with avrepl command, is it this way?:

    avrepl --operation=replicate -[replscript]dpnname=myavamar --[avtar]id=myid@avamar -ap=mypassword --[replscript]dstaddr=myavamar -[replscript]dstid=myid --dstpassword=mypassword ...

  • Pawan_Kumawat

    1 Rookie

    •

    46 Posts

    3597

    0

    Posted December 4th, 2018 00:00

    Hi,

    From page 43, you can find the steps to make  a DD default device for the replication and steps to do storage mapping-

    https://support.emc.com/docu81548_Avamar-7.4-and-Service-Packs-and-Data-Domain-System-Integration-Guide.pdf?language=en_…

    I hope this would help.

    Regards,

    Pawan Kumawat

  • Steve_MelbAU

    1 Rookie

    •

    12 Posts

    3597

    1

    Posted December 5th, 2018 15:00

    Hi Pawan,

    Thanks, I've read the document before, it only talks about replication between 2 Avamar systems though.

    I think it's clear about how to setup DD etc., but I need more detail about how to replicate them in same Avamar.

    Would you please give more detailed steps? is it just need to use "--checkservers=false" and then use same host name as source and target avamar, that's it?

  • Steve_MelbAU

    1 Rookie

    •

    12 Posts

    3597

    0

    Posted December 5th, 2018 15:00

    I assume there should be more things like setup replication domain and authentication, etc.?

    Have EMC/DELL test it and fully support it?

    Should it be very fast or would bring performance impact to Avamar?

  • slair

    6 Posts

    3597

    0

    Posted December 14th, 2018 20:00

    Hi Pawan,

    We are trying to do the same thing as Steve.  I added two options to the replication group to get by the initial errors:

    checkservers=false

    [replscript]checkservers=false

    But now i get the error below:

    2018-12-15 04:13:49 avtar Error <5698>: Source (avamarServer) and destination (avamarServer) DPNs are the same! Replication ABORTING

    Any suggestions?  Thanks!

    Sean

  • Steve_MelbAU

    1 Rookie

    •

    12 Posts

    1396

    0

    Posted December 16th, 2018 21:00

    Which DD did you set as "default replication storage"?

    Seems need to set the target DD to be default, then do the replication, from what Pawan mentioned.

    And where did you put the checkservers option? Isn't it suppose to have a "--" in front of it?

    I still don't have chance to test it on mine yet, but just some thoughts.

    Maybe try it again with command line:

    avrepl --operation=replicate -[replscript]dpnname=myavamar --[avtar]id=myid@avamar -ap=mypassword --[replscript]dstaddr=myavamar -[replscript]dstid=myid --dstpassword=mypassword ...