Results 1 to 5 of 5

Thread: How to interpret Snapper’s TIMELINE_LIMIT settings

  1. #1

    Default How to interpret Snapper’s TIMELINE_LIMIT settings

    The (btrfs) root partition of my Tumbleweed machine seems to be rapidly running out of disk space because of Snapper snapshots. I’m trying to find out how to automatically weed out older snapshots, but I cannot find information on how to interpret the different TIMELINE_LIMIT variables in `/etc/snapper/configs/root` file:

    Code:
    # limits for timeline cleanup
    TIMELINE_MIN_AGE="1800"
    TIMELINE_LIMIT_HOURLY="10"
    TIMELINE_LIMIT_DAILY="10"
    TIMELINE_LIMIT_WEEKLY="0"
    TIMELINE_LIMIT_MONTHLY="10"
    TIMELINE_LIMIT_YEARLY="10"
    What’s the unit in TIMELINE_MIN_AGE? What do the numbers in the other variables mean? Is it like “retain the last 10 hourly snapshots” etc?

  2. #2
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    2,990

    Default Re: How to interpret Snapper’s TIMELINE_LIMIT settings

    Quote Originally Posted by SuperOscar View Post
    The (btrfs) root partition of my Tumbleweed machine seems to be rapidly running out of disk space because of Snapper snapshots. I’m trying to find out how to automatically weed out older snapshots, but I cannot find information on how to interpret the different TIMELINE_LIMIT variables in `/etc/snapper/configs/root` file:

    Code:
    # limits for timeline cleanup
    TIMELINE_MIN_AGE="1800"
    TIMELINE_LIMIT_HOURLY="10"
    TIMELINE_LIMIT_DAILY="10"
    TIMELINE_LIMIT_WEEKLY="0"
    TIMELINE_LIMIT_MONTHLY="10"
    TIMELINE_LIMIT_YEARLY="10"
    What’s the unit in TIMELINE_MIN_AGE? What do the numbers in the other variables mean? Is it like “retain the last 10 hourly snapshots” etc?
    Values used on this system:
    Code:
    i3-4130:~ #grep CREATE /etc/snapper/configs/root
    TIMELINE_CREATE="no"
    i3-4130:~ # grep LIMIT /etc/snapper/configs/root  
    SPACE_LIMIT="0.5" 
    FREE_LIMIT="0.2" 
    NUMBER_LIMIT="2-10" 
    NUMBER_LIMIT_IMPORTANT="4-10" 
    TIMELINE_LIMIT_HOURLY="10" 
    TIMELINE_LIMIT_DAILY="10" 
    TIMELINE_LIMIT_WEEKLY="0" 
    TIMELINE_LIMIT_MONTHLY="10" 
    TIMELINE_LIMIT_YEARLY="10" 
    i3-4130:~ #
    
    Snapper lists only number cleanup, timeline does not apply here:
    Code:
    i3-4130:~ # snapper list 
       # | Type   | Pre # | Date                     | User | Cleanup | Description          | Userdata      
    -----+--------+-------+--------------------------+------+---------+----------------------+-------------- 
      0  | single |       |                          | root |         | current              |               
     22* | single |       | Mon Jul 20 11:33:33 2020 | root |         | writable copy of #18 |               
    444  | pre    |       | Wed Jul 28 05:54:07 2021 | root | number  | zypp(zypper)         | important=yes 
    445  | post   |   444 | Wed Jul 28 05:55:42 2021 | root | number  |                      | important=yes 
    448  | pre    |       | Wed Jul 28 05:59:18 2021 | root | number  | zypp(zypper)         | important=yes 
    449  | post   |   448 | Wed Jul 28 05:59:30 2021 | root | number  |                      | important=yes 
    462  | pre    |       | Fri Jul 30 08:03:18 2021 | root | number  | zypp(zypper)         | important=yes 
    463  | post   |   462 | Fri Jul 30 08:07:25 2021 | root | number  |                      | important=yes 
    478  | pre    |       | Wed Aug  4 07:33:19 2021 | root | number  | zypp(zypper)         | important=yes 
    479  | post   |   478 | Wed Aug  4 07:37:25 2021 | root | number  |                      | important=yes 
    482  | pre    |       | Wed Aug  4 09:49:27 2021 | root | number  | zypp(zypper)         | important=yes 
    483  | post   |   482 | Wed Aug  4 09:49:37 2021 | root | number  |                      | important=yes 
    490  | pre    |       | Thu Aug  5 05:11:05 2021 | root | number  | yast bootloader      |               
    491  | post   |   490 | Thu Aug  5 05:11:38 2021 | root | number  |                      |               
    i3-4130:~ #
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  3. #3

    Default Re: How to interpret Snapper’s TIMELINE_LIMIT settings

    Yeah, but I have set TIMELINE_CREATE="yes" on system and am trying to clean up those snapshots in particular.

  4. #4
    Join Date
    Sep 2012
    Posts
    6,836

    Default Re: How to interpret Snapper’s TIMELINE_LIMIT settings

    Quote Originally Posted by SuperOscar View Post
    What do the numbers in the other variables mean?
    https://doc.opensuse.org/documentati...an-up-timeline

  5. #5

    Default Re: How to interpret Snapper’s TIMELINE_LIMIT settings

    Thanks, arvidjaar! That’s was exactly what I was after.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •