r/LibreNMS • • Nov 21 '21

Oxidized has an automatic backup ?

Hello ,

I'm trying to use oxidized but I backup my devices using refresh but my question is oxidized going to backup automatically ?

I mean like 1 or 2 hours or do I need to backup devices by myself ?

Best Regards

1 Upvotes

9 comments sorted by

2

u/someFunnyUser Nov 21 '21

I just push to git on change.

1

u/Zurattos Nov 21 '21

is there any documentation for that please ?

2

u/The0mega Nov 21 '21

Step 1: set the output/storage to git. https://github.com/ytti/oxidized/blob/master/docs/Outputs.md#output-git

Step 2: add an hook to an external repo. https://github.com/ytti/oxidized/blob/master/docs/Hooks.md#hook-type-githubrepo It don't van to be GitHub, ik can also be al locally hosted gitea or gitlab environment.

2

u/lafwood LibreNMS Project Member Nov 21 '21

Oxidized is designed to take a backup of config automatically. The interval value in your config file is what dictates the frequency (in seconds).

1

u/Zurattos Nov 21 '21

Can you please which value in the config file ?

1

u/lafwood LibreNMS Project Member Nov 21 '21

interval.

2

u/Supreme-Bob Nov 21 '21

you can set up oxidized to do that, yes.