forked from gcgarner/IOTstack
-
Notifications
You must be signed in to change notification settings - Fork 301
Closed
Description
First of all great that you forked this initiative so that this is still alive!
I've been using the IOTstack since the fall of 2019 and build various MQTT readings, Python scripts that write to Influxdb and Grafana visualizations. Recently I got some issues.
- The IOTstack is installed on a 16GB SD card that seemed to be sufficient. But the system is writing much data to the disk which is now completely occupied. At first I suspected my Influxdb files but this is of limited size. I checked the log files but this is limited too. When I drilled down using sudo du -hsx * | sort -rh | head -10 I discovered /var/lib/docker is spending 11G. But I can't get access to the content of this folder. I am aware docker is using a network but how do I examine which files are responsible for this? Is there any shortcut to remove unnecessary space?
- I use my NAS to backup the contents of the volumes folder. I did this by mounting it and use a copy script in crontab, which I discussed with Graham in Improvements to Dropbox and Google Drive backups gcgarner/IOTstack#78 This worked quite well, but the content of the volume folder (especially Influxdb) seems to be dynamic. As the script is copying every file change. The contents of the backup on the NAS are exploding (32 GB yet). Moreover this backup consists of old and new files so I think when I need it it won't work. What should work better is to copy the entire volume folder to the NAS and then remove the old version. Can you give me advise on this?
Metadata
Metadata
Assignees
Labels
No labels