This commit is contained in:
2024-04-03 11:32:24 +02:00
parent dac7cf1be0
commit 23609b96d0
2 changed files with 6 additions and 1 deletions

View File

@@ -4,6 +4,11 @@
# ==============================================================================
#bashio::log.level "info"
# script global shortcuts
declare -r BACKUP_NAME="ha-backup-$(date +'%Y-%m-%d %H-%M')"
declare -r SSH_HOME="${HOME}/.ssh"
# call Home Assistant to create a local backup
# function fails in case local backup is not created
function create-local-backup {