save inputs

Hello everyone

I wanted to ask, you can save the settings of the inputs created, so that if I wanted to start from the beginning can have the ability to recharge the imputs as if they had just been created

pb66's picture

Re: save inputs

The data is stored in the data feeds so you shouldn't need to reset the inputs. If you replace the existing feeds the new feeds will be empty and your retained input processing just needs to be edited to use the new feeds.

Easiest method is to go to the feeds page and any feeds you wish to "reset" change the name by putting an "X" in front of it, so "feedA" becomes "XfeedA".

Then go through each inputs processing page. Any feeds beginning with "X" should be duplicated using the same settings and name minus the "X", the new feed should be moved up the processing chain using the up arrow until it is next to the original feed.

Delete the original feed entry from the processing chain.

Move on to the next and when all the "Xname" feed entries have been replaced throughout all the inputs and you are happy with the changes you can go back to the feeds page and delete all feeds beginning with "X".

It's best to stop sending data to emoncms whilst making the changes by stopping emonhub or the emonTX etc

Paul

serbat's picture

Re: save inputs

Hello Paul
I think I understand your procedure, but was wondering something different.
in practice was wondering if it was possible to perform a restore settings only, of course first need to make a backup

pb66's picture

Re: save inputs

There is no in built restore functions but there are tools that could help you perform a backup/restore.

Trystan has created backup tools in usefulscripts which you can find info about here ,  

The input data is saved in a MySQL database so you could install phpmyadmin to backup/restore the tables.

Paul

 

serbat's picture

Re: save inputs

I'm afraid it's too difficult for my knowledge, however I will try.
thanks

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.