Menu

#224 Support for many cloud providers via rclone

none
open
None
requested
5
2025-12-22
2025-12-17
Ole G
No

This could be regarded as a more general suggestion than feature request #217.

rclone supports access to a vast number of cloud backends, it might be more flexible (and even easier?) to support access via rclon's backends than implementing access for a few selected ones in dar.

sftp file specification (from a sftp-backup example in the dar documentation):
-c sftp://denis@dar/home/denis/backup

Syntax for an equivalent backup to an rclone backend (could be Google Drive) called drive1:
-c rclone:drive1:denis/backup

Authentication is made through rclone's configuration file.

Idea taken from restic, which also has sftp as remote storage support, plus support for cloud providers via rclone backends.

Regards, Ole G

Discussion

  • Ole G

    Ole G - 2025-12-17

    Forgot to mention that sequential support already is available, using rclone and pipes:

    Create, list on cloud drive and list contents of a dar archive :

    dar -N -R /cygwin -g f/dar-test -c - | rclone rcat k1:dar

    rclone lsl k1:dar
    6299222 2025-12-17 17:22:59.280000000 dar

    rclone cat k1:dar | dar -l - --sequential-read

     
  • Denis Corbin

    Denis Corbin - 2025-12-18
    • status: unread --> open
    • assigned_to: Denis Corbin
     
  • Denis Corbin

    Denis Corbin - 2025-12-18

    rclone seems closed sources and a single executable. Don't see how to integrate it with an application (dar/libdar) without an API and library

     
  • Ole G

    Ole G - 2025-12-18

    I'm not sure it's closed source, and there is an API:
    https://github.com/rclone/rclone/blob/master/librclone/README.md

    The way restic provides access to ALL rclone-supported backends suggests to me that one doesn't have to provide (much) backend-specific code.
    There might very well be other (language-specific) obstacles, though...

     
  • Denis Corbin

    Denis Corbin - 2025-12-22

    will see that in time, thanks for the information

     

Log in to post a comment.

MongoDB Logo MongoDB