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

[Feature] Service Call for replication and rsync tasks #89

Open
Shogun1978 opened this issue Jul 7, 2023 · 2 comments
Open

[Feature] Service Call for replication and rsync tasks #89

Shogun1978 opened this issue Jul 7, 2023 · 2 comments
Labels
enhancement New feature or request planned To be implemented in future release

Comments

@Shogun1978
Copy link

Shogun1978 commented Jul 7, 2023

Is your feature request related to a problem? Please describe.

Currently there is a service call named "TrueNAS: Cloudsync Run" available. It would be nice to have a service call to start the normal replication tasks and also the rsync tasks.

Describe the solution you'd like

As said before: would be nice to have a service call in Home Assistant to start the replication and rsync tasks configured in TrueNAS :-)

Describe alternatives you've considered

Currently I am using a shell command (curl) to trigger the sync tasks by an API call. Works so far.

Additional context

@Shogun1978 Shogun1978 added the enhancement New feature or request label Jul 7, 2023
@tomaae
Copy link
Owner

tomaae commented Jul 7, 2023

should be doable

@tomaae tomaae added the planned To be implemented in future release label Jul 7, 2023
@Shogun1978
Copy link
Author

Great! Don't know if it helps, but the call is pretty simple:
/usr/bin/curl -X POST -H "Authorization: Basic xxxxxxx=""http://xxx.xxx.xxx.xxx/api/v2.0/replication/id/19/run"
Should be similar to the Cloudsync service call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request planned To be implemented in future release
Projects
None yet
Development

No branches or pull requests

2 participants