Im just trying snapper, iv just installed it and read the man, set up a quick config but when it executes it creates 2 snapshots but i cant find why?
❱sudo snapper list
1 │ single │ │ Sat 15 Jun 2024 09:00:00 BST │ root │ timeline │ timeline │
3 │ single │ │ Sat 15 Jun 2024 09:31:19 BST │ root │ │ │
4 │ single │ │ Sat 15 Jun 2024 10:00:01 BST │ root │ timeline │ timeline │
5 │ single │ │ Sat 15 Jun 2024 10:01:00 BST │ root │ timeline │ timeline │
It did make 2 at 09:00 and 09:01 but for some reason the 09:01 one has gone now but it still created a 10:00 and a 10:01 on this snapshot?
❱sudo journalctl -u snapper-timeline.service --since "2024-06-15 09:00" --until "2024-06-15 11:00"
Jun 15 09:00:00 greg-optiplex7050 systemd[1]: Started Timeline of Snapper Snapshots.
Jun 15 09:00:00 greg-optiplex7050 systemd-helper[482158]: Running timeline for 'root'.
Jun 15 09:00:00 greg-optiplex7050 systemd[1]: snapper-timeline.service: Deactivated successfully.
Jun 15 10:00:01 greg-optiplex7050 systemd[1]: Started Timeline of Snapper Snapshots.
Jun 15 10:00:01 greg-optiplex7050 systemd-helper[500021]: Running timeline for 'root'.
Jun 15 10:00:01 greg-optiplex7050 systemd[1]: snapper-timeline.service: Deactivated successfully.
I dont see anything in the logs.
I have the config like this:
❱sudo snapper -c root get-config
Key │ Value
─────────────────────────┼──────
ALLOW_GROUPS │
ALLOW_USERS │
BACKGROUND_COMPARISON │ yes
EMPTY_PRE_POST_CLEANUP │ yes
EMPTY_PRE_POST_MIN_AGE │ 3600
FREE_LIMIT │ 0.2
FSTYPE │ btrfs
NUMBER_CLEANUP │ yes
NUMBER_LIMIT │ 50
NUMBER_LIMIT_IMPORTANT │ 10
NUMBER_MIN_AGE │ 3600
QGROUP │
SPACE_LIMIT │ 0.5
SUBVOLUME │ /
SYNC_ACL │ no
TIMELINE_CLEANUP │ yes
TIMELINE_CREATE │ yes
TIMELINE_LIMIT_DAILY │ 10
TIMELINE_LIMIT_HOURLY │ 10
TIMELINE_LIMIT_MONTHLY │ 10
TIMELINE_LIMIT_QUARTERLY │ 0
TIMELINE_LIMIT_WEEKLY │ 0
TIMELINE_LIMIT_YEARLY │ 10
TIMELINE_MIN_AGE │ 3600
these are all my systemd timers
❱systemctl list-timers
NEXT LEFT LAST PASSED UNIT ACTIVATES
Sat 2024-06-15 10:26:48 BST 11s Sat 2024-06-15 10:26:18 BST 18s ago check_bluetooth.timer check_bluetooth.service
Sat 2024-06-15 11:00:00 BST 33min Sat 2024-06-15 10:00:01 BST 26min ago snapper-timeline.timer snapper-timeline.service
Sun 2024-06-16 00:00:00 BST 13h Sat 2024-06-15 00:00:01 BST 5h 56min ago logrotate.timer logrotate.service
Sun 2024-06-16 00:00:00 BST 13h Sat 2024-06-15 00:00:01 BST 5h 56min ago shadow.timer shadow.service
Sun 2024-06-16 05:34:34 BST 19h Sat 2024-06-15 01:00:00 BST 4h 56min ago man-db.timer man-db.service
Sun 2024-06-16 06:49:49 BST 20h Sat 2024-06-15 02:19:52 BST 3h 36min ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
Sun 2024-06-16 08:51:05 BST 22h Sat 2024-06-15 08:01:05 BST 2h 25min ago updatedb.timer updatedb.service
Mon 2024-06-17 01:04:33 BST 1 day 14h Mon 2024-06-10 01:25:06 BST - fstrim.timer fstrim.service
Thu 2024-06-20 08:24:05 BST 4 days Thu 2024-06-13 14:37:03 BST - pamac-mirrorlist.timer pamac-mirrorlist.service
Sun 2024-06-23 13:51:19 BST 1 week 1 day Wed 2024-06-12 09:40:24 BST - archlinux-keyring-wkd-sync.timer archlinux-keyring-wkd-sync.service
Sat 2024-07-06 15:00:00 BST 3 weeks 0 days Wed 2024-06-05 12:29:30 BST - pamac-cleancache.timer pamac-cleancache.service
❱systemctl cat snapper-timeline.timer
# /usr/lib/systemd/system/snapper-timeline.timer
[Unit]
Description=Timeline of Snapper Snapshots
Documentation=man:snapper(8) man:snapper-configs(5)
[Timer]
OnCalendar=hourly
[Install]
WantedBy=timers.target
❱sudo journalctl _SYSTEMD_UNIT=snapper-timeline.service
Jun 15 09:00:00 greg-optiplex7050 systemd-helper[482158]: Running timeline for 'root'.
Jun 15 10:00:01 greg-optiplex7050 systemd-helper[500021]: Running timeline for 'root'.
there is nothing in my crontab or roots crontab.
So i dunno?
EDIT:
Yea, it did the same again, removed the 10:01 and added 11:00 and 11:01
❱sudo snapper list
# │ Type │ Pre # │ Date │ User │ Cleanup │ Description │ Userdata
──┼────────┼───────┼──────────────────────────────┼──────┼──────────┼─────────────┼─────────
0 │ single │ │ │ root │ │ current │
1 │ single │ │ Sat 15 Jun 2024 09:00:00 BST │ root │ timeline │ timeline │
3 │ single │ │ Sat 15 Jun 2024 09:31:19 BST │ root │ │ │
4 │ single │ │ Sat 15 Jun 2024 10:00:01 BST │ root │ timeline │ timeline │
6 │ single │ │ Sat 15 Jun 2024 11:00:00 BST │ root │ timeline │ timeline │
7 │ single │ │ Sat 15 Jun 2024 11:01:00 BST │ root │ timeline │ timeline │