Huginn: Backup Agent configs automatically with git

Created on 23 Aug 2016  路  4Comments  路  Source: huginn/huginn

Hey @cantino,

i want to backup my agent configs with git in an automated way.. i read about the storage location and it is stored in the mysql database i guess.

Did you have a nice way to get the config of the agents to manage all the configs via git?

Greetings
TheReal

Most helpful comment

I think an export all / import all would be a nice addition for the Huginn admin interface, if someone wants to build it.

All 4 comments

Hi @TheReal1604,

unfortunately there is no easy way to export all Agent configurations to JSON files. If you want to back up your Huginn instance you could create database backups. It is possible to export Scenarios to JSON files, but that requires manual downloading of the Scenario configuration via the Share link.

:+1: for exporting agents. Being able to (manually) download an agent config as JSON would be helpful to share agents.

It is particularly useful as some agents such as WebsiteAgent are really generic and specific configurations could be easily shared this way.

It's been my experience that downloading agent networks as JSON files makes it ideal to check them into version control.

I think an export all / import all would be a nice addition for the Huginn admin interface, if someone wants to build it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nileio picture nileio  路  3Comments

xnaas picture xnaas  路  7Comments

feilongfl picture feilongfl  路  3Comments

Cameri picture Cameri  路  6Comments

holmesb picture holmesb  路  3Comments