Skip to content
This repository has been archived by the owner on Oct 16, 2022. It is now read-only.

Lost snaptshots #272

Closed
JosuGZ opened this issue Aug 6, 2018 · 5 comments
Closed

Lost snaptshots #272

JosuGZ opened this issue Aug 6, 2018 · 5 comments

Comments

@JosuGZ
Copy link

JosuGZ commented Aug 6, 2018

I have the tool configured to keep 5 daily snapshots, and 5 monthly snapshots. It only keeps one of each, so I don't have snapshots older than today.

@teejee2008
Copy link
Owner

Is there sufficient free space on the drive? Check the logs in /var/log/timeshift

@cmulk
Copy link
Contributor

cmulk commented Nov 14, 2018

I'm seeing what might be related behavior. I have the daily snapshots set to 5, with 5 current snapshots. A new daily snapshot runs and I expect it to remove the oldest and still end up with 5 total snapshots. Instead it has deleted the 3 oldest snapshots, leaving a total of 3 remaining.

This is on a btrfs setup. Timeshift 18.9 on Ubuntu 18.10 Log attached
timeshift_log.txt

@cmulk
Copy link
Contributor

cmulk commented Nov 15, 2018

After some additional testing I realized this behavior is caused by cases where daily snapshots are missed for a period of time. Timeshift is removing snapshots older than 5 days rather than keeping 5 snapshots. To me this seems inconsistent with how it is described in the GUI settings and can easily lead to snapshots getting removed when the user isn't planning on it.

See attached log of my test
timeshift_test.txt

@Maaartinus
Copy link

This is even worse. Today, I started the computer after not having used it for one week. There should be 5 snapshots kept, but timeshift created a new one and deleted all old ones. So the only snapshot I have is the current state, there's actually no backup at all.

@teejee2008
Copy link
Owner

Fixed. Duplicate of #362.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants