Skip to main content
NetApp Knowledge Base

What logs can be checked to see the files/directories transferred by cloud sync?

Views:
64
Visibility:
Public
Votes:
0
Category:
cloud-sync
Specialty:
bluexp
Last Updated:

Applies to

Cloud Sync

Answer

Download the databroker logs, and check for  "relationships.log" file which will have all file/directroy details which are transferred by cloud sync databroker with success or failure.

NOTE: It is not easy to manually pull all the file/directory details from relationship.log as there might be multiple data brokers involved and also the logs file is not easy to extract and read.

Additional Information

Below is the example to read the relationship logs :
 
[2022-10-10T21:16:18.151] [INFO] [TRANSFERRER] [1] [16603] [62c534af57663c84375dbc20] STARTING copy from: {"local":{"path":"mnt/62c534af57663c84375dbc20/d7b2f827-00e1-4a4f-9641-4a4cbac16eee_src"}} to: {"local":{"path":"mnt/62c534af57663c84375dbc20/d7b2f827-00e1-4a4f-9641-4a4cbac16eee_trg"}} entry: {"path":"test","type":"DIRECTORY","size":0,"mode":16822,"uid":0,"gid":0,"mtimeSec":1660029145,"creationTimeSec":1660029132,"cifsAcl":"ACL:Everyone@WORLD AUTHORITY:ALLOWED/I/FULL,ACL:Everyone@WORLD AUTHORITY:ALLOWED/OI|CI|IO|I/","tempEntryName":".test_i0zhzAN_netapp"}
 
[2022-10-10T21:16:18.179] [INFO] [TRANSFERRER] [1] [16603] [62c534af57663c84375dbc20] COMPLETED copy from: {"local":{"path":"mnt/62c534af57663c84375dbc20/d7b2f827-001-4a4f-9641-4a4cbac16eee_src"}} to: {"local":{"path":"mnt/62c534af57663c84375dbc20/d7b2f827-00e1-4a4f-9641-4a4cbac16eee_trg"}} entry: {"path":"test","type":"DIRECTORY","size":0,"mode":16822,"uid":0,"gid":0,"mtimeSec":1660029145,"creationTimeSec":1660029132,"cifsAcl":"ACL:Everyone@WORLD AUTHORITY:ALLOWED/I/FULL,ACL:Everyone@WORLD AUTHORITY:ALLOWED/OI|CI|IO|I/","tempEntryName":".test_i0zhzAN_netapp"} took: 27
 
NOTE:
  • 62c534af57663c84375dbc20 -> Relationship ID
  • path -> Is the path of File/ DIRECTORY that is copied.
  • STARTING -> Indicates copy of this file/DIRECTORY is started
  • COMPLETED -> Indicates copy of this file/DIRECTORY is completed successfully
  • took -> Indicates the time it took to copy the file to Target ( in msec )
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.