XCP-Ng Storage Repository Reconnect

I have a remote storage I use in XCP-NG that sometimes is not available if\when I have to reboot the server, usually after a power outage.

Is there a function I can use to write a script so this can be automated instead of going into the xen?

Thanks in advance.

The XEN API can be controller from the command line so most likely. I don’t use it much you might want to check their forums & documentation on how to do that. Home | XCP-ng forum