Hi Folks,
I have a seaweedfs environment with 1 Master, 2 Volume servers, 2 Filers, 2 S3 servers.
I am trying to take a back up of volume data using the weed backup command.
I have mapped the 2 Volume servers data to voldata_1/dir and voldata_2/dir directories respectively.
Volume server 1's data
From the data on these folders, It's clear that the data on
Volume Server 1's data folder has data of volumeIds 2,3,5,6 and 7.
Volume Server 2's data folder has data of volumeIds 1 and 4.
Question:
Now, When I need to run weed backup command,
How can I get the information of the volume server, to which the volumeId belongs to,
so that I can organise the backup data of the each volume servers to a separate folder.
weed backup -server=localhost:9333 -dir=./data_volume_weed_backup -volumeId=2
Is there a ReST endpoint on Master, which returns the Volume Server and volumeId mapping(probably for a given volumeId)
Issue:
Restoring is difficult if we are unable to distinguish the data of Volume servers.
We may end up having duplicate data on all the Volume servers data folders.