.env.example 707 B

123456789101112131415161718192021222324252627
  1. # Home Assistant Details
  2. HA_URL="http://homeassistant.local:8123"
  3. HA_TOKEN="your_home_assistant_token_here"
  4. HDD_SWITCH_ENTITY="switch.external_hdd_power"
  5. BATTERY_SENSOR_ENTITY="sensor.battery_percentage"
  6. MIN_BATTERY_LEVEL=80
  7. # Server Details
  8. SERVER_USER="your_user"
  9. SERVER_IP="your_server_ip"
  10. SSH_KEY="~/.ssh/id_rsa"
  11. SSH_PORT=22
  12. # HDD Mount Details
  13. HDD_DEVICE="/dev/sdb1"
  14. MOUNT_POINT="/mnt/external_hdd"
  15. # Borg Backup Details
  16. REPOSITORY="/mnt/external_hdd/backup_repo"
  17. SOURCE_DIRECTORIES="/home /etc /var /usr /opt /srv /root /boot"
  18. PASSPHRASE="your_borg_passphrase"
  19. # Logging Details
  20. INFLUXDB_URL="http://your_server_ip:8086"
  21. INFLUXDB_ORG="org"
  22. INFLUXDB_BUCKET="borg"
  23. INFLUXDB_TOKEN="your_influx_token"