Skip to content

Create snapshot (CLI) shows wrong tag description #156

@woodward2

Description

@woodward2

Describe the bug
"ondemand" is displayed as the description for a weekly snapshot.

To Reproduce
Take a snapshot with a tag of 'W' from the command line.

Expected behavior
The tag description should be "weekly"

Screenshots
Command to run the snapshot (from a script via cron):
timeshift --create --tags W --scripted 2>&1

Output from the command:

Creating new snapshot...(RSYNC)
Saving to device: /dev/sda1, mounted at path: /
Linking from snapshot: 2023-03-06_01-32-31
Synching files with rsync...
RSYNC Snapshot saved successfully (240s)
Tagged snapshot '2023-03-13_01-33-05': ondemand
------------------------------------------------------------------------------
Maximum backups exceeded for backup level 'weekly'
Snapshot '2023-02-13_01-28-43' un-tagged 'weekly'
Removing snapshots (un-tagged):
------------------------------------------------------------------------------
Removing '2023-02-13_01-28-43'...
------------------------------------------------------------------------------

Proof it really is a weekly snapshot:

Device : /dev/sda1
UUID   : ac9c4f3e-a1f5-416e-b15c-bc09dcb994b2
Path   : /
Mode   : RSYNC
Status : OK
4 snapshots, 29.1 GB free

Num     Name                 Tags  Description  
------------------------------------------------------------------------------
0    >  2023-02-20_01-29-45  W                  
1    >  2023-02-27_01-27-20  W                  
2    >  2023-03-06_01-32-31  W                  
3    >  2023-03-13_01-33-05  W                  

System:
System A:
Mint 19.3
MATE 1.22.2
Timeshift v19.08

System B:
Mint 20.3
MATE: 1.26.0
Timeshift v22.06.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions