-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this a problem?? #70
Comments
Hmm, it seems there is an issue with non-existent config entries, similar to the password issue. |
backup_custom_prefix: SomerHome_backup
backup_friendly_name: true
backup_keep_local: "10"
remote_host: "!secret Eldrad_host"
remote_key: HA_ecdsa
remote_port: 22
remote_user: "off"
rsync_enabled: true
rsync_exclude:
- /config/*.db-shm
- /config/*.db-wal
- /config/*.db
- "*.tar"
- keyfile
- "*.tdm"
- "*.cache"
- home-assistant*.*
- "*.moxilla"
- "*.vmc"
rsync_rootfolder: "!secret EldradB_rsync"
ssh_enabled: true
ssh_remote_directory: "!secret EldradB_path"
backup_password: "!secret EldradB_pass" |
I was able to recreate, the solution as of right now seems to be to switch to |
@ikifar2012 the remote-backup-addon/remote-backup/run.sh Line 109 in b6f76a2
if bashio::config.has_value "backup_exclude_addons" || bashio::config.has_value "backup_exclude_folders"; then or I guess removing the quotes should also work. |
Back-up appears to be working fine, but I spotted something that seems odd.
This is my 'up north' instance, very vanilla no exclusions for the backup, a few exclusions in the rsync.
Notice it still says partial back-up and it lists the things it's ignoring as null. This might be another case of null seeping in from the config.
The config does not mention those 2 excludes, yet it says they are there when the backup happens and are null and a partial backup is the result... (edited)
Now maybe this is intentional, I don't know. All seems to work. I was just wondering if this is working as intended, or should the absence of config exclude entries mean a complete backup?
In my other instance there are actual excludes...
I'm thinking if neither exclude entry is in config, then a full backup could be done.
The text was updated successfully, but these errors were encountered: