Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Add rsync for Hass.io folders - #20

Open
carstenschroeder wants to merge 8 commits into
overkill32:masterfrom
carstenschroeder:master
Open

Add rsync for Hass.io folders#20
carstenschroeder wants to merge 8 commits into
overkill32:masterfrom
carstenschroeder:master

Conversation

@carstenschroeder

Copy link
Copy Markdown

This PR adds rsync to the addon. This allows to transfer Hass.io folders "/config", "/backup", "addons", "/share" and "/ssl" to their NAS. Here rsync uses user/password, so it works with the Synology rsync service out-of-the-box.

Users can choose SCP and/or rsync for backup in config.

I'm a bash newbie, so I'd happy to do needed changes. Please feel free to give feedback.

If PR should be acceptable, I would also add the new options to readme.md.

@overkill32

Copy link
Copy Markdown
Owner

@carstenschroeder Can you double check this PR against the newly updated config.json? The repository has recently changed locations. Thanks.

@gervaso gervaso left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, the repo has just been moved, could you please update the urls to "overkill32" instead of "mr-bjerre"?
Nice work, I'm also interested in it!

I had to upgrade to hassio-cli 2.2.0 in order to find a binary for the new armv7 arch. After that I had to change some bash code, because hassio-cli Ver. 2 is not compatible to Ver. 1.

It now seems to work in my installation (but I am on amd64). Please test yourself!
@carstenschroeder

Copy link
Copy Markdown
Author

This PR now includes all the changes of my repo: https://github.com/carstenschroeder/hassio-addons/tree/master/remote-backup

I had to upgrade to hassio-cli 2.2.0 in order to find a binary for the new armv7 arch. After that I had to change some bash code, because hassio-cli Ver. 2 is not compatible to Ver. 1.

It now seems to work in my installation (but I am on amd64). Please test yourself!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants