Support borg --upload-buffer #865

Closed
opened 2024-05-12 17:44:01 +00:00 by Forza-tng · 2 comments

What I'd like to do and why

I think it woukd be useful to have support for the Borg --upload-buffer option in config.yaml and/or command line. It can improve upload speeds to remote locations.

Other notes / implementation ideas

The original MR to Borg has some discussion about it: https://github.com/borgbackup/borg/pull/5574

Doc: https://borgbackup.readthedocs.io/en/stable/usage/general.html#common-options

--upload-buffer UPLOAD_BUFFER
set network upload buffer size in MiB. (default: 0=no buffer)

### What I'd like to do and why I think it woukd be useful to have support for the Borg `--upload-buffer` option in config.yaml and/or command line. It can improve upload speeds to remote locations. ### Other notes / implementation ideas The original MR to Borg has some discussion about it: https://github.com/borgbackup/borg/pull/5574 Doc: https://borgbackup.readthedocs.io/en/stable/usage/general.html#common-options >--upload-buffer UPLOAD_BUFFER set network upload buffer size in MiB. (default: 0=no buffer)
Owner

Thanks for filing this! I've implemented it in main and will it'll be part of the next release. A few caveats:

  • I only added a configuration option (upload_buffer_size) for this, not a command-line flag. Although you can always use --override as a work-around to set any configuration option from the command-line.
  • I only implemented this for the create action for now.
Thanks for filing this! I've implemented it in main and will it'll be part of the next release. A few caveats: * I only added a configuration option (`upload_buffer_size`) for this, not a command-line flag. Although you can always use `--override` as a work-around to set any configuration option from the command-line. * I only implemented this for the `create` action for now.
Owner

Released in borgmatic 1.8.12!

Released in borgmatic 1.8.12!
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#865
No description provided.