OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: flushell on August 12, 2019, 11:15:55 PM

Title: How to actually use os-backup-api
Post by: flushell on August 12, 2019, 11:15:55 PM
I want to use the plugin os-backup-api, but I found a complete absence of documentation how to actually use it. I did find this (https://github.com/opnsense/plugins/pull/895#issuecomment-458158323), but I cannot find where to configure "key" and "secret" anywhere in the GUI. Is there any GUI element? Am I overlooking something? The documentation found here (https://wiki.opnsense.org/development/api/plugins/backup-api.html) is not very helpful either. The "info" of the plugin is not helpful either, stating

QuoteProvide the functionality to download the config.xml

Can anyone point me in the right direction?
Title: Re: How to actually use os-backup-api
Post by: mimugmail on August 13, 2019, 07:42:54 AM
You go to System : Access : Users, choose your user, add an API key. It will download a files with key:secret :)
Title: Re: How to actually use os-backup-api
Post by: flushell on August 13, 2019, 09:24:26 PM
Thanks.
Had to give the user special rights for backup too.
Works now.

Would be nice if this was documented.
Title: Re: How to actually use os-backup-api
Post by: mimugmail on August 14, 2019, 06:38:28 AM
It is both, but in different places in the docs.