Getting error when doing back up

When i run back up command i am getting the below error.

Error
{"error":"RepositoryException[[my_backup] failed to create repository]; nested: CreationException[Guice creation errors:\n\n1) Error injecting constructor, org.elasticsearch.repositories.RepositoryException: [my_backup] location [/elasticsearch-1.7.2/backup] doesn't match any of the locations specified by path.repo because this setting is empty\n at org.elasticsearch.repositories.fs.FsRepository.(Unknown Source)\n while locating org.elasticsearch.repositories.fs.FsRepository\n while locating org.elasticsearch.repositories.Repository\n\n1 error]; nested: RepositoryException[[my_backup] location [/elasticsearch-1.7.2/backup] doesn't match any of the locations specified by path.repo because this setting is empty]; ","status":500}
Can u any one post me some command to take back up

Take a read of https://www.elastic.co/guide/en/elasticsearch/reference/1.7/modules-snapshots.html#_shared_file_system_repository

when i am doing repository changes that time only i am getting the error

Yes, but did you read the link?