This worked. Thanks a lot. Another question is do I need to change name 'my_s3_repository' for every backup or just changing name of snapshot_1 would work?
Just changing the name of the snapshot (in this case snapshot_1) is all you need to do and in fact should do to make use of the incremental nature of snapshots per repository.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.