Skip to content

Backup fails when empty "exclude if present" is added to the list #2135

@deermo

Description

@deermo

Description

Not sure how it got there, but I just had an empty item in the "Exclude if present" list. I realized this as my backup finished after a few seconds without error.

The log shows:
Running command /Applications/Vorta.app/Contents/Resources/borg-dir/borg.exe create --list --progress --info --log-json --json --filter=AM -C lz4 --patterns-from=/Users/mo/Backup/excludes/borg_excl_patterns.lst --exclude-if-present .nobackup --exclude-if-present ssh://PATH-TO-ARCHIVE /BACKUP/PATH

The issue seems to be that an empty "--exclude-if-present" is passed to borg and probably the rest of the command gets broken.

Reproduction

  • I tried to reproduce the issue.
  • I was able to reproduce the issue.

OS

macOS 15.1 (24B83)

Version of Vorta

0.10.1

What did you install Vorta with?

Binary

Version of Borg

1.4.0

Logs

See above

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething doesn't work as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions