Download state-metadata-1.0.0.jar from Maven Central.
usage: java -jar state-metadata-1.0.0.jar --input.file old_metadata --output.file _metadata \
--input.uri s3://old-bucket/old-savepoints/savepoint-b9888f-a23df1784fa3 \
--output.uri s3://new-bucket/new-savepoints/savepoint-b9888f-a23df1784fa3
Java and Maven
mvn clean package
This repository is part of the example how-to guide: https://michalklempa.com/2020/03/move-flink-savepoint-to-different-s3-bucket/