Skip to content

support general patterns #1991

@TheRealDarklord

Description

@TheRealDarklord

The problem

Currently i cannot exclude a directory and then include a subdirectory of that excluded one in the backup as Vorta supports exclude patterns only.

Requested Solution

As written in the explanation to borg patterns (https://borgbackup.readthedocs.io/en/stable/usage/help.html#borg-patterns) borg supports include and exclude patterns if it is used with the "right" argument. Vorta uses the exclude-argument which prevents the usage of include patterns.

So the requested solution would be to allow the usage of the more general patterns instead of the exclude-option solely.

Alternatives

The alternative with current capabilities would be to explicitly add all subdirectories and files of my home directory without the games dir. In addition I would then select the specific paths within the games directory. This way I could work around the exclusion of "games" and have its targeted subdirectories included.
The downside is that any new directory in my home directory needs to be added manually in Vorta. So it's not a viable alternative imho.

Additional context

I use Vorta to backup my home directory. In my home directory is a subdirectory for my installed games. I do not want to include those gigabytes of game files within the backup so naturally I exclude that subdirectory. But I DO want to backup specific game related files, e.g. savegames and settings. These reside in various subdirectories of the games directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:ideaProposed feature, discuss if its usefultype:featureNew functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions