diff --git a/src/borgstore/store.py b/src/borgstore/store.py index 195a014..e5d6b4f 100644 --- a/src/borgstore/store.py +++ b/src/borgstore/store.py @@ -19,6 +19,7 @@ from .backends._base import ItemInfo, BackendBase from .backends.errors import ObjectNotFound, NoBackendGiven, BackendURLInvalid # noqa from .backends.posixfs import get_file_backend +from .backends.rclone import get_rclone_backend from .backends.sftp import get_sftp_backend from .constants import DEL_SUFFIX @@ -33,6 +34,10 @@ def get_backend(url): if backend is not None: return backend + backend = get_rclone_backend(url) + if backend is not None: + return backend + class Store: def __init__(self, url: Optional[str] = None, backend: Optional[BackendBase] = None, levels: Optional[dict] = None):