RAM Drive / Backup Drive

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
Toulon7559
Posts: 859
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: mixed
Location: Hengelo(Ov)/NL
Contact:

RAM Drive / Backup Drive

Post by Toulon7559 »

Experience like this crash once more impresses the need for good&save storage of data and files.
The Wiki has description-how-to for RAM Drive and for HDD Backup Drive.
However, for the latter solution also see this thread.
The settings for the RAM Drive may get lost at shutdown of the Raspberry (by own experience, and as written in this Wiki-section), requiring that you again have to walk the road to get it:
not difficult, but nuisance, and after a few times it is 'forgotten' ........
First, shortterm solution might be that in the Wiki a clear&short instruction is added how to add the required lines to domoticz' start-file, bearing in mind what has been written at the bottom section of the elaborate description.

Longer term it would be nice&easy if the Domoticz' GUI under Setup would get an option
1) to set a RAM Drive for 'working files' of selectable size [1M ~20M], with 0 = no RAM Drive
1a) with option to include the logging & temp files
2) for backup to External HDD to set & activate path & timing with RSync to a second, external location either at LAN, or at available USB-port

;-) With the recent experience in mind (as mentioned in first line) would be nice if patch for 1), 1a) and 2) would be available for Domoticz working with Raspian Jessie, Stretch and Buster, serving all present & future users of Domoticz.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
niki_lauda
Posts: 118
Joined: Saturday 31 August 2013 14:48
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Eindhoven (NL)
Contact:

Re: RAM Drive / Backup Drive

Post by niki_lauda »

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest