Skip to content

Backslash disappears in Snapshot Prefix field #3

@dcflachs

Description

@dcflachs

I have found that i prefer the format 2023-06-13T18-18 for naming my btrfs snapshots. The format string that creates this timestamp format seems to be {Y-m-d\TH-i}. A path of the form /mnt/snapshots/.appdata/{Y-m-d\TH-i} seems to work to create the desired snapshot when typed in the create snapshot dialog. The same path can also be saved in the Snapshot Prefix box on the Edit settings screen.

The problem is that when clicking the create snapshot button for a subvolume with saved prefix with the desired prefix the popup form is missing the backslash in prefix. /mnt/ssd-cache/snapshots/.appdata/{Y-m-dTH-i}

To reproduce save a snapshot prefix with the form {Y-m-d\TH-i} and then attempt to create a snapshot with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions