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 pass cli options to rclone when using rustic #1004

Closed
nickchomey opened this issue Jan 13, 2024 · 2 comments
Closed

How to pass cli options to rclone when using rustic #1004

nickchomey opened this issue Jan 13, 2024 · 2 comments
Labels
A-docs Area: Improvements or additions to documentation C-enhancement Category: New feature or request C-zombie Category: A PR that was closed (by the author) but could still be of value

Comments

@nickchomey
Copy link

Backblaze charges you $4/million "list" requests, and strongly recommends that you use rclone's --fast-list option

Is there a way to pass this through to rclone via rustic's CLI options? Or would the only way be to set environment variables? I'm trying to avoid that as it seems to complicate setting things up programmatically.

Thanks!

@github-actions github-actions bot added the S-triage Status: Waiting for a maintainer to triage this issue/PR label Jan 13, 2024
@aawsome
Copy link
Member

aawsome commented Jan 13, 2024

using

[global.env]
RCLONE_FAST_LIST = "true"

in your config file should do the trick.

Besides this, I doubt that it will make a significant difference in your backblaze charges. IMO this only affects check and prune (and forget --prune, of course) and may reduce number of list calls by 255 per command call, i.e. saving you $0.001 per check or prune call.
backup will not be affected at all by this option.

@nickchomey
Copy link
Author

Thanks very much!

@simonsan simonsan added A-docs Area: Improvements or additions to documentation C-enhancement Category: New feature or request C-zombie Category: A PR that was closed (by the author) but could still be of value and removed S-triage Status: Waiting for a maintainer to triage this issue/PR labels Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: Improvements or additions to documentation C-enhancement Category: New feature or request C-zombie Category: A PR that was closed (by the author) but could still be of value
Projects
None yet
Development

No branches or pull requests

3 participants