This is a quick-and-dirty tool to make sure we have backups. There is no fault tolerance, and it must be run as a user with SSH access to GitHub and IAM access to the bucket being written to. If we end up needing a more long-term tool then we can add better fault tolerance and security config.
Test Results: Manually tested. Results are in the github.com.opendistro-for-elasticsearch.backup bucket. Manually verified that I can download and unpack a backup, and that it contains the complete git repository including all branches and history.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on signing off your commits, please check here.
This is a quick-and-dirty tool to make sure we have backups. There is no fault tolerance, and it must be run as a user with SSH access to GitHub and IAM access to the bucket being written to. If we end up needing a more long-term tool then we can add better fault tolerance and security config.
Test Results: Manually tested. Results are in the github.com.opendistro-for-elasticsearch.backup bucket. Manually verified that I can download and unpack a backup, and that it contains the complete git repository including all branches and history.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on signing off your commits, please check here.