ONTAP Discussions

Snapmirror logs

apw
1,970 Views

Hi -  i  am running OnTap cDOT 9.1P7.

I need to gather information for every snapmirror transfer which has completed and is still in the logs. I want to generate a single text file with the following fields

RelaionshipID:Start timestamp:FinishTimeStamp:TransferSize:TransferStatus

 

There are many logs and i can't seem to find any clear 'Start' and 'End' in the logs

 

Can anyone help me identify these fields so I can write some code to extract the data?

 

Thanks!

 

1 REPLY 1

Ashun
74 Views

hi,

 

I think you can try to use the following command to get the information you need

snapmirror show-history

snapmirror show-history -fields relationship-id,start-time,end-time,transfer-size,result

 

Ashun_0-1727665765866.png

Ashun_1-1727666083351.png

 

Public