Move deps folder?

I am fairly new to HA. The other day I noticed that deps folder in my configuration folder that contains all sorts of libraries. Since I use scripts to backup, sync etc. my configuration, I am curious if it is possible to move the deps folder to a different location, for example to /srv/homeassistant where I would have expected it anyway.

Is this possible and if not why?

Hi, don’t know why the deps folder is there, but i think the easiest way is to exclude it.

#!/bin/bash

SRC='/home/homeassi'
DST='/srv/homeassi/backups'

tar -cjf \
$DST/home-$(date +%Y%m%d_%H%M).tar.bz2 \
--exclude=.cache \
--exclude=.homeassistant/deps \
--exclude=.homeassistant/home-assistant.log \
--exclude=.homeassistant/home-assistant_v2.db \
$SRC
# Keep 10 backups
cd $DST
rm `ls -t | awk 'NR>10'` >/dev/null 2>/dev/null
2 Likes

Thanks!

I had figured that out myself, but I have several use cases.

One of them is that I use the IOS App Documents to edit my configuration.yaml. To be able to do this, I need to sync the complete .homeassistant folder to my iDevice. Including the deps and tts folders. Which take up much space.