Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

At midnight smart remove deletes all snapshot taken the previous day #1041

Open
Xwang1976 opened this issue Nov 1, 2019 · 6 comments
Open
Assignees
Labels
Documentation Feature requests a new feature Low relevant, but not urgent

Comments

@Xwang1976
Copy link

I've set backintime to save a snapshot every 2 hours and then I've activated the smart backup to keep the snapshots taken the previous day, one snapshot a day for the last 14 days, one snapshot a week for the last 5 weeks and one snapshot a month for the last 2 months.
I expected that after a day it would have deleted only snapshots older than one day (if not needed for the daily, weekly and monthly rules) so that to have twelve snapshots taken in the last 24 hours.
Instead at midnight it has deleted all the snapshots taken the day before excep the first one.
Is it normal or is it a bug?
If it is normal how can I keep the last 12 snapshots (taken in the last 24 hours) and the daily, weekly and monthly ones?

@buhtz
Copy link
Member

buhtz commented Sep 25, 2022

Tag: Feedback, Support

@Xwang1976 There is a new forming maintaining team and we do review all issues. Is this problem still relevant for you or did you find a solution?

I need to summarize that do improve my understanding

  • scheduled each 2 hours
  • keep previous days "1"
  • keep per day for the last "14" days
  • keep one per week for the last "5" weeks
  • keep one per month for the last "2" months

I am not sure if I understand everything. It seems normal to me what you subscribed.

Maybe you should set "keep previous days" to the value "2". Have you tried that?

@emtiu
Copy link
Member

emtiu commented Sep 25, 2022

Yes, it sounds to me like the setting you want is: "Keep all snapshots for the last: 2 day(s)".

If I'm not mistaken, the confusion probably comes from the fact that backintime takes "the last 1 day(s)" to mean "the current calendar day" (which changes at midnight), and not "the past 24 hours".

@emtiu emtiu added the Feedback needs user response, may be closed after timeout without a response label Sep 25, 2022
@buhtz buhtz closed this as completed Mar 16, 2023
@buhtz
Copy link
Member

buhtz commented Mar 16, 2023

Closing because of no new relevant information. Please feel free to re-open the issue.

@emtiu
Copy link
Member

emtiu commented Mar 16, 2023

I'd like to keep this open and reproduce it some time, so we could maybe find a better wording for the smart remove settings.

@emtiu emtiu reopened this Mar 16, 2023
@buhtz
Copy link
Member

buhtz commented Mar 16, 2023

I used the "Documentation" label because IMHO the strings in the GUI are also kind of a documentation.

@Xwang1976
Copy link
Author

Yes, it sounds to me like the setting you want is: "Keep all snapshots for the last: 2 day(s)".

If I'm not mistaken, the confusion probably comes from the fact that backintime takes "the last 1 day(s)" to mean "the current calendar day" (which changes at midnight), and not "the past 24 hours".

Sorry for the enormus delay, but indeed yes I would like to keep for last 2 days meaning that due to the fact that I do a bakup every 4 hours, I would like to keep the latest 12 snapshots the one for the last 48 hours. I hope it clarifies.

@buhtz buhtz added Feature requests a new feature Low relevant, but not urgent and removed Feedback needs user response, may be closed after timeout without a response labels Mar 16, 2023
@emtiu emtiu self-assigned this Mar 17, 2023
@buhtz buhtz added this to the 1.3.5 / 1.4.0 milestone Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Feature requests a new feature Low relevant, but not urgent
Projects
None yet
Development

No branches or pull requests

3 participants