# Influx retention policy and remote storage location

**URL:** https://discourse.nodered.org/t/influx-retention-policy-and-remote-storage-location/39238
**Category:** General
**Created:** [16 January 2021 18:49 UTC](https://discourse.nodered.org/t/influx-retention-policy-and-remote-storage-location/39238 "2021-01-16T18:49:00Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![bkenobi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bkenobi/32/59825_2.png) [@bkenobi](https://discourse.nodered.org/u/bkenobi)
#### Post date: [16 January 2021 23:30 UTC](https://discourse.nodered.org/t/influx-retention-policy-and-remote-storage-location/39238/4 "2021-01-16T23:30:00Z")

</div>

@TotallyInformation assume you mean this thread:

> [@How to effectively use InfluxDB](https://discourse.nodered.org/t/need-more-detailed-information-on-influxdb/36885):
>
> Hi, I want to runn all my sensor values and things into an influxdb. I have looked into the documentation of node-red-contrib-influxdb and that left many questiuons open: I want to automatically retain all measurements for 3 months, retain an hourly average/median for 3 more months and Store Weekly averages indefinitely. What would I have to do to make this as easy as possible? Would you rather run influxdb on you raspberry or an old laptop? Would you rather create "tables" per measured val…

I was thinking that it would be better to put the high fidelity/short term data on a local USB. The primary reason for local rather than on the server is that the server being RAID5 with 4 conventional disc drives is the startup time. If I write to the the server once a day, it's no problem since the time it takes to spin each up in series isn't a big issue. But if I write every bit of sensor data to the server it will keep the drives spinning all the time and cause earlier failure. My intent was to have the current day/week stored locally and then uploaded to the server for long term storage. Keeping it local would be fine, but a backup would be preferred. If I hammer a USB of any kind, the media will eventually fail. If I lose the high fidelity data I'm out a day or week which is not the end of the world. If I lose the full set, I'd be starting over.

@Colin I looked at a couple descriptions of Influx 2 and it appears it's still considered Alpha though it is available to anyone. I don't have a problem being an early adopter so long as it works, but without much database background, that may be a bit of a hurdle if there's no support on this or their own forum. I'll do some more reading.

---

_[View the full topic](https://discourse.nodered.org/t/influx-retention-policy-and-remote-storage-location/39238)._
