fueltracker_diary

FuelTracker dev diary

  • Generate a table of “all products” for all stations.
  • Compare “today's” products against that master list to see what is not available today.
  • Age out as needed(?).
  • Remove old stations.

Export database schemas (no data):

docker exec -it FW_PostgreSQL /bin/bash
pg_dump -Cs fuelwatcher > /workspace/FuelWatcher/bak/fuelwatcher_RPi64_`date +%Y-%m-%dT%H-%M-%S`.bak
pg_dump -Cs fuelwatcher > /workspace/FuelWatcher/backups/fuelwatcher_STONARD_`date +%Y-%m-%dT%H-%M-%S`.bak

Compare exports (Beyond Compare): RPi / backups ←→ bak

  • fueltracker_diary.txt
  • Last modified: 2023/03/29 14:52
  • by admin