Replication script not working with PHP timestore feeds

I've just had to rebuild my local emoncms due to a Hdd error. I then tried to replicate the feeds from my emoncms.org account using the import_full.php script,  like I have done many times in the past. This time however the script has only downloaded some of my feeds. It hasn't downloaded the Phptimestore feeds. 

Is there any plans to update the replication scripts to include the new feed types or is there any other way I could download my missing feeds eg. convert them back to timestore for replication?

TrystanLea's picture

Re: Replication script not working with PHP timestore feeds

Thanks for asking, I've just updated the scripts to work with phptimestore it can be found here: https://github.com/emoncms/usefulscripts/tree/master/replication/import_v8

to run it, add your local userid and remote apikey as before and run with:

sudo php import_v8.php

 

ngbod's picture

Re: Replication script not working with PHP timestore feeds

Thanks Trystan, I need to upgrade to v8 first then I'll give it a try.

TrystanLea's picture

Re: Replication script not working with PHP timestore feeds

I think it may work with v7 too

ngbod's picture

Re: Replication script not working with PHP timestore feeds

I struggled to get it to work with both v7 and v8 when I had some data (up to February) already present. The script worked its way through all the feeds but downloaded 0 bytes each time.

I've just done a clean install of the Feb HDD image and then Debian v8.01 and the replication script seems to have worked perfectly and the previously blank database is now an exact mirror of my emoncms.org account.

Comment viewing options

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