Skip to content

Can "borg config [REPO] max_segment_size [VALUE]" be applied to existing repos? #7858

@trendymail

Description

@trendymail

Hello!

Have you checked borgbackup docs, FAQ, and open GitHub issues?

Yep! Doc, FAQ and issues are a wealth of knowledge. :)

Is this a BUG / ISSUE report or a QUESTION?

QUESTION (maybe already asked but found nothing in the docs)

System information. For client/server mode post info for both machines.

Your borg version (borg -V).

borg 1.2.6 (using "fat" binary "borg-linuxold64"

Operating system (distribution) and version.

OpenVZ/Virtuozzo 7

Hardware / network configuration, and filesystems used.

Dedicated servers, NVMe, ECC RAM, EXT4

How much data is handled by borg?

~2 To

Full borg commandline that lead to the problem (leave away excludes and passwords)

Not tested yet.

50 MiB per segment file

for REPO in $REPO_LIST; do borg config $REPO max_segment_size 52428800; done

Describe the problem you're observing.

I would like to understand and know:

a) if it is possible to apply this change to existing repos
b) when "old" segment files (500 MiB) will be removed

Long story short:

  • I use rsync to copy repos on low hardware systems
  • I cannot use "borg create" on these secondary systems
  • I fully understand that corruption, if any, will propagate

My goad is to limit rsync bandwidth usage sine all data is already compressed.

Is there any indication against using a lower "max_segment_size"? (in my case: 100 MiB)

For completeness, I use Borg to save OpenVZ disk images (results are awesome...).

Any hint will be greatly appreciated! ^^

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions