Is it possible to backup emoncms.org account (using all kind of feeds, inluding phpfiwa, mysql, PHPTIMESTORE, ) to a local installation that is emoncms v8.4.0, bufferedwrite:0.0.2 (that is only seems to be supporting phpfina and phptimeseries)?
I tried to search the forum and documentation and i understood it should work by using usefulscrips/backup.
Unfortunately I've tried and it does not work. It even destroyed somehow my local inputs and feeds.
The dat files are saved into /var/www/emoncms instead on tha data directory /home/pi/data (it is a raspberry pi prewritten image).
The inputs and feeds are not loaded into local installation.
I've configured backup.php as per documetnation of course:
$remote_server = "http://emoncms.org";
// NEEDS TO BE YOUR WRITE APIKEY (ELEVATED PERMISSIONS FOR FULL DATA EXPORT)
$remote_apikey = "***********************";
$link_to_local_emoncms = true;
$local_emoncms_location = "/var/www/emoncms/";
$local_emoncms_userid = 1;
$backup_inputs = true;
$dir = "/home/pi/data";
I have the impression that to be able to convert the feeds to phpfina (that seems to be needed for importing them) I need a local installation that supports e.g. phpfiwa feeds. Or?
Anyone successfully backed up emoncms.org account into a local installation that is based on branch bufferedwrite?
Re: backup emoncms.org account to local bufferwrite emoncms (v8.4.0, bufferedwrite:0.0.2)
Yes unfortunately you cant backup emoncms.org feeds that are not phpfina to the bufferedwrite version. You can install the full version either on another computer or by upgrading the bufferdwrite version https://github.com/emoncms/emoncms/blob/bufferedwrite/docs/switchtofull.md but then that wont be good for your SD card so I would not recommend it, if you continue to log continuously to the local emoncms.
Re: backup emoncms.org account to local bufferwrite emoncms (v8.4.0, bufferedwrite:0.0.2)
Thank you for info. I think during weekend i will change my raspi to use an HDD and give a new try.