How to give different locations Data folder in linux Box in elasticsearch

Currently i am download tar file and unzipped particular location. In that location we have data folder is there .But I have another directory data folder required.
This is for backup purpose.

Could you please tell me.

If you just want to change the data path, you'll want to have a look at the path.data setting. If you're trying to back up Elasticsearch to a special directory, you'll want to look at the snapshot and restore module and you'll need to add the location that you want to back up to the path.repo setting.