Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.
Discussion options

You must be logged in to vote

If you can't find information it would be great if you document your process. I might be interested in doing the same depending on your results.

So my noob step-by-step I was following was this:
Inside Home Assistant I used an "SSH & Terminal" addon. In the addon settings you need to turn off the Protection mode and restart the addon.
With the code below you can find out your InfluxDB container ID:
echo ] | (sudo docker ps --format "{ {{json .ID}} : {{json .Names}} }" | paste -sd',' && cat) | (echo [ && cat)

With the next code you can make a backup of the database of your choice:
sudo docker exec influxd backup -portable -database "/share/influxbackup/database-name"

Using File Editor ad…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@kvmgz
Comment options

@zelig2
Comment options

@kvmgz
Comment options

@Vakrehus
Comment options

@kvmgz
Comment options

Comment options

You must be logged in to vote
1 reply
@kvmgz
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by kvmgz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants