[Question posted by a user on YugabyteDB Community Slack]
I noticed when i do backup /restore for single node i have no issue at all but for a multi-node cluster i would have issues with the backup. I see on the documentation regarding the tip below:
To get a snapshot of a multi-node cluster, you need to go into each node and copy the folders of ONLY the leader tablets on that node. Because each tablet-replica has a copy of the same data, you do not need to keep a copy for each replica.
Not sure what this means , how would i get ONLY the leader tablets on that node?
Lets say we have a 3-node cluster, i would just backup all the leader tablet data of the current node , then do the same for the next 2 . At the end, i would restore it by copying only the leader tablet data on its own respective node, then restoring it like that?