Skip to content
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

How to sync Network storages containing backups #103

Open
nicknol opened this issue Jan 12, 2025 · 5 comments
Open

How to sync Network storages containing backups #103

nicknol opened this issue Jan 12, 2025 · 5 comments

Comments

@nicknol
Copy link

nicknol commented Jan 12, 2025

The problem

In Home Assistant you could configure 'Network storage' and mark them as to be used for backups.
e.g. in auto backup (thanks for this great integration) the various backup location could be used for different schedules for different data sources. e.g. media to be saved to one Network storage on weekly basis, and config 'hourly' to a second Network storage.

How do I instruct rclone to sync those Network storages to e.g. NextCloud? assuming I can't or won't use any feature of the Network storage iteself.
means how to configure the job's source?

What version of Rclone Backup has the issue?

3.3.3

What version of Home Assistant are you running?

2024.12.5

What type of installation are you running?

Home Assistant OS

If you're running HA OS/Supervised, what version of the Supervisor are you running?

2024.12.3

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@nicknol nicknol changed the title How to sync Network storages containing backusp How to sync Network storages containing backups Jan 12, 2025
@jcwillox
Copy link
Owner

This addon can only access the Home Assistant folders on the file system, e.g. /config, /backups, it doesn't have direct access to the network storages you add. That said you can always configure those network storages as remotes in rclone and set them as the source. You can run any rclone command you want on a schedule, including syncing from one remote to another.

@nicknol
Copy link
Author

nicknol commented Jan 16, 2025

Thank you @jcwillox
that sounds very reasonable and easy :)
but: I couldn't figure out how rclone could access an NFS volume on a storage (NAS) in the local network.
Would be super, if you give me a hint.

1 similar comment
@nicknol
Copy link
Author

nicknol commented Jan 16, 2025

Thank you @jcwillox
that sounds very reasonable and easy :)
but: I couldn't figure out how rclone could access an NFS volume on a storage (NAS) in the local network.
Would be super, if you give me a hint.

@jcwillox
Copy link
Owner

jcwillox commented Jan 16, 2025

Depends what protocol the remote volume is using, e.g. samba, sftp, but rclone should have a backend for it, here's the full list, https://rclone.org/overview. But I imagine your likely looking for https://rclone.org/smb or https://rclone.org/sftp

I'm not sure if rclone has one dedicated for the NFSv3 protocol, maybe the SMB one will work, but the NAS likely has support for connecting over SMB or SFTP

@nicknol
Copy link
Author

nicknol commented Jan 16, 2025

Thanks again for your immediate support.

The remote volume offers NFS, hence I would like to use it. If it is not possible, I fallback to SMB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants