The whole idea of this project is just a proof of concept (yet). Don't use that in any productive environment without knowing exactly what is happening here!
This is a set of scripts to replay configurations done in a Zammad instances
based of what has been logged in a production.log
.
⚠️ Always check the scripts before you run them. Id's may be different in the target system!
Run read-production.log.rb to parse your production.log and output a zapi script.
./read-production.log.rb <optional:path/to/poduction.log>
With todays production.log in its package default location:
./read-production.log.rb > my-script.zapi
Run run-zapi.rb to execute a zapi script.
./run-zapi.rb <my-script.zapi> <optional:host> <optional:api-token>
You can also provide HOST/TOKEN within the zapi-script. You can even include instructions for more than one host within the same zapi-script this way.