Skip to content

Pre-run shell command value not loaded from database on startup or profile change #2152

@jonathanjsimon

Description

@jonathanjsimon

Description

I have a script defined for a profile to run before creating a backup. It does run the script. However, the UI does not contain the path to the script in the field for the pre-run shell command so it looks like it's not configured. Editing the field and switching profiles does not update the field with the newly selected profile's value for that field. The value is definitely in the database

(I only pasted the first entry here, there are two in the database to match the configured profile count)

❯ sqlite3 settings.db "select * from backupprofilemodel;"
2|local|2024-02-22 14:41:42.601821|1||lz4|REDACTED||interval|3|hours|20|0|3|42|1|1|3|1|2|7|4|6|2|10H|{hostname}-{now:%Y-%m-%d-%H%M%S}|{hostname}-|/home/jsimon/.dotfiles/issyncing.sh||1|1|3

But not in the UI

I can confirm that the local profile is indeed selected as all the other settings match.

Screenshot_20241126_112814

Reproduction

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

OS

EndeavourOS latest, linux 6.12.1, KDE Plasma Version: 6.2.3

Version of Vorta

0.10.0

What did you install Vorta with?

Distribution Package

Version of Borg

1.4.0

Logs

No response

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