Networker automated recovery testing using the REST API - first script

I have worked a lot on my automated recovery script recently and finally got to a version that is a really good proof of concept and that I'm not scared to publish.  Plus, I have created a Gitub repo for documentation, issue management and, of course, Git features. The script is not perfect but it is even better than what I was planning when I wrote my first post on the topic:
  • A lot of checks have been put in place to make sure all variables are provided, and in the right format
  • There is an inline help with -h
  • The script chooses a backup randomly amongst all the available backups, not only the 30 last ones
  • It only requires bash, cURL and jq, on a machine that has access to the Networker REST API
    • Only tested on RHEL 6 for now
The script is not complete (I already created more than 10 issues to add features, improve current features or fix things), but it is a very good start for an organisation that wants to make recovery tests easier.
The Github repo will also allow other people to contribute. If you have any question, feel free to comment on this post.  If you can help for anything (documentation, code, testing, etc.) please let me know.

Comments

Popular posts from this blog

General linux performance troubleshooting

Asterisk works under OpenVZ (no zaptel)