update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bitlab S3 Backup",
|
"name": "bitlab S3 Backup",
|
||||||
"version": "1.0.6",
|
"version": "1.0.7",
|
||||||
"slug": "bitlab-s3-backup",
|
"slug": "bitlab-s3-backup",
|
||||||
"description": "Sync Backups to bitlab S3 storage",
|
"description": "Sync Backups to bitlab S3 storage",
|
||||||
"url": "https://git.bitlab.ch/bitlab/ha-addon",
|
"url": "https://git.bitlab.ch/bitlab/ha-addon",
|
||||||
|
|||||||
@@ -4,6 +4,11 @@
|
|||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
#bashio::log.level "info"
|
#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
|
# call Home Assistant to create a local backup
|
||||||
# function fails in case local backup is not created
|
# function fails in case local backup is not created
|
||||||
function create-local-backup {
|
function create-local-backup {
|
||||||
|
|||||||
Reference in New Issue
Block a user