# Backup Export not working

**URL:** <https://community.openenergymonitor.org/t/backup-export-not-working/7405>\
**Category:** Emoncms\
**Created:** [13 May 2018 16:34 UTC](https://community.openenergymonitor.org/t/backup-export-not-working/7405 "2018-05-13T16:34:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [14 May 2018 19:47 UTC](https://community.openenergymonitor.org/t/backup-export-not-working/7405/4 "2018-05-14T19:47:54Z")

</div>

I knew I’d looked at this before.

> [@Migrating timestore on one computer to phpfina on another computer (across LAN)](https://community.openenergymonitor.org/t/migrating-timestore-on-one-computer-to-phpfina-on-another-computer-across-lan/6666/5):
>
> I’ve just dropped a PR to try and make the backup module more general - It could do with a dev branch on this module for this work though. It is only a start to what needs done but the export script works when called from the command line. You could easily add in any other folders - was Timestore simply a folder to backup? The only other thing to watch would be that I commented out stopping the feedwriter service for the moment. Not sure if this was part of the early EmonCMS or not.

> [@Backup Module issues](https://community.openenergymonitor.org/t/backup-module-issues/6609):
>
> Just installed the backup module into an up to date EmonCMS installation. in preparation for an upgrade to Stretch. First issue is that the file locations are hardcoded as /home/pi/backup. For me, this location is already in use so is not feasible. For others, the user may not be ‘pi’. This really needs to be configurable. I changed the locations I could find, but the export module will not run from the web interface. There is no message to say it is not running and has failed. There was a …

And the PR

> <https://github.com/emoncms/backup/pull/12>
>
> The task is to make the backup module work on non pi systems.
> 
> I have modified… this so that the config file now resides in the php folder and is read by both the php side and the bash side. I am not sure if this is a security issue or not.
> 
> I have also added in some file exist checks for non EmonPi setups.
> 
> Phpfiwa was not backed up.
> 
> This now needs more development in identifying different base systems and reacting accordingly.
> 
> feedwriter is not stopped currently (commented out) as I don't have it installed. The service could be checked for existing & running.
> 
> As I say, just a start on this.

But no one picked it up.

The backup module is separate from the main core.

I’m not familiar with the Prebuilt image I’m afraid. My issues revolved around the install not being on a pi.

---

_[View the full topic](https://community.openenergymonitor.org/t/backup-export-not-working/7405)._
