# Data Logging remotely and backing up EmonPi SD Card

**URL:** <https://community.openenergymonitor.org/t/data-logging-remotely-and-backing-up-emonpi-sd-card/16860>\
**Category:** Getting Started\
**Tags:** emonpi\
**Created:** [10 February 2021 10:09 UTC](https://community.openenergymonitor.org/t/data-logging-remotely-and-backing-up-emonpi-sd-card/16860 "2021-02-10T10:09:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnwigley](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/dnwigley/32/21253_2.png) [@dnwigley](https://community.openenergymonitor.org/u/dnwigley)\
**Post date:** [10 February 2021 10:09 UTC](https://community.openenergymonitor.org/t/data-logging-remotely-and-backing-up-emonpi-sd-card/16860/1 "2021-02-10T10:09:34Z")

</div>

Hi I purchased an EMonPI and I watched the videos on UTUBE whilst awaiting delivery and I can see that this device is well supported by websites OPENCMS and will greatly increase my knowledge of APIs etc.

One thing is bothering me though.

The PI has an SD card and the data is saved to it and so some time in the future the SD Card will fail. So I need to back up the SD card image and find a way to get emonpi to send the data to a remote sever probably one on my NAS drive.

Is this possible without breaking apart the EmonPi ?

---

<div class="post-metadata">

**Author:** ![TrystanLea](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/trystanlea/32/31_2.png) [@TrystanLea](https://community.openenergymonitor.org/u/TrystanLea)\
**Post date:** [12 February 2021 21:44 UTC](https://community.openenergymonitor.org/t/data-logging-remotely-and-backing-up-emonpi-sd-card/16860/2 "2021-02-12T21:44:44Z")

</div>

Hello @dnwigley have you seen the guide on backing up and restoring here: [Import / Backup - Guide | OpenEnergyMonitor](https://guide.openenergymonitor.org/setup/import/)

There was a thread here recently about setting up a regular automated backup that might be useful:  
[https://community.openenergymonitor.org/t/automatic-backup/16243](https://community.openenergymonitor.org/t/automatic-backup/16243)

---

<div class="post-metadata">

**Author:** ![dnwigley](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/dnwigley/32/21253_2.png) [@dnwigley](https://community.openenergymonitor.org/u/dnwigley)\
**Post date:** [5 March 2021 16:40 UTC](https://community.openenergymonitor.org/t/data-logging-remotely-and-backing-up-emonpi-sd-card/16860/3 "2021-03-05T16:40:36Z")

</div>

I found this [https://johnatilano.com/2016/11/25/use-ssh-and-dd-to-remotely-backup-a-raspberry-pi/](https://johnatilano.com/2016/11/25/use-ssh-and-dd-to-remotely-backup-a-raspberry-pi/)

But it doesn’t seem to work on a mac as it keep saying file not found?
