You are not logged in.

#1 2024-09-01 20:44:53

ansellum
Member
Registered: 2024-09-01
Posts: 1

Timeshift-autosnap not deleting old snapshots

Hello! I  am having an issue where timeshift-autosnap functions properly after updating packages, however, old snapshots are not deleted. This is my config:

 ➜ cat /etc/timeshift-autosnap.conf
#
# /etc/timeshift-autosnap.conf
#

# skipAutosnap defines if timeshift-autosnap execution should be skipped.
# Default value is false.
skipAutosnap=false

# deleteSnapshots defines if old snapshots should be deleted.
# Default value is true.
deleteSnapshots=true

# maxSnapshots defines how much old snapshots script should left.
# Only positive whole numbers can be used.
# Default value is 3.
maxSnapshots=10

# updateGrub defines if grub entries should be auto-generated.
# If grub-btrfs package is not installed grub won't be generated.
# Default value is true.
updateGrub=true

# snapshotDescription defines value used to distinguish snapshots created using timeshift-autosnap
# Default value is "{timeshift-autosnap} {created before upgrade}".
snapshotDescription={timeshift-autosnap} {created before upgrade}

And this is the output for when I run timeshift-autosnap directly in console:

 ❯ sudo timeshift-autosnap
Using system disk as snapshot device for creating snapshots in BTRFS mode
Mounted '/dev/nvme0n1p3' at '/run/timeshift/22923/backup'
btrfs: Quotas are not enabled
Creating new backup...(BTRFS)
Saving to device: /dev/nvme0n1p3, mounted at path: /run/timeshift/22923/backup
Created directory: /run/timeshift/22923/backup/timeshift-btrfs/snapshots/2024-09-01_13-42-31
Created subvolume snapshot: /run/timeshift/22923/backup/timeshift-btrfs/snapshots/2024-09-01_13-42-31/@
Created control file: /run/timeshift/22923/backup/timeshift-btrfs/snapshots/2024-09-01_13-42-31/info.json
BTRFS Snapshot saved successfully (0s)
Tagged snapshot '2024-09-01_13-42-31': ondemand
------------------------------------------------------------------------------

** (process:23077): CRITICAL **: 13:42:31.838: gee_abstract_collection_get_size: assertion 'self != NULL' failed
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  amd-ucode.img initramfs-linux-fallback.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2024-09-01 13:42:31 | timeshift-btrfs/snapshots/2024-09-01_13-42-31/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 13:36:44 | timeshift-btrfs/snapshots/2024-09-01_13-36-44/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 13:27:48 | timeshift-btrfs/snapshots/2024-09-01_13-27-48/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 13:27:23 | timeshift-btrfs/snapshots/2024-09-01_13-27-23/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 13:22:36 | timeshift-btrfs/snapshots/2024-09-01_13-22-36/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 13:01:27 | timeshift-btrfs/snapshots/2024-09-01_13-01-27/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 13:01:26 | timeshift-btrfs/snapshots/2024-09-01_13-01-26/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 13:00:34 | timeshift-btrfs/snapshots/2024-09-01_13-04-04/@ | ondemand | Before restoring '2024-09-01 12:58:37'        |
Found snapshot: 2024-09-01 12:58:37 | timeshift-btrfs/snapshots/2024-09-01_12-58-37/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 02:07:31 | timeshift-btrfs/snapshots/2024-09-01_02-07-31/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 01:59:40 | timeshift-btrfs/snapshots/2024-09-01_01-59-40/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 01:59:38 | timeshift-btrfs/snapshots/2024-09-01_01-59-38/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 01:57:28 | timeshift-btrfs/snapshots/2024-09-01_01-57-28/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 01:54:29 | timeshift-btrfs/snapshots/2024-09-01_01-54-29/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 01:43:23 | timeshift-btrfs/snapshots/2024-09-01_13-00-34/@ | ondemand | Before restoring '2024-09-01 12:58:37'        |
Found snapshot: 2024-09-01 01:10:03 | timeshift-btrfs/snapshots/2024-09-01_01-10-03/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 01:10:00 | timeshift-btrfs/snapshots/2024-09-01_01-10-00/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 01:05:17 | timeshift-btrfs/snapshots/2024-09-01_01-05-17/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 01:05:14 | timeshift-btrfs/snapshots/2024-09-01_01-05-14/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 01:01:29 | timeshift-btrfs/snapshots/2024-09-01_01-01-29/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 01:01:09 | timeshift-btrfs/snapshots/2024-09-01_01-01-09/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 01:01:07 | timeshift-btrfs/snapshots/2024-09-01_01-01-07/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 00:41:43 | timeshift-btrfs/snapshots/2024-09-01_00-41-43/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 00:41:41 | timeshift-btrfs/snapshots/2024-09-01_00-41-41/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 00:39:50 | timeshift-btrfs/snapshots/2024-09-01_00-39-50/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-09-01 00:39:48 | timeshift-btrfs/snapshots/2024-09-01_00-39-48/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-30 01:41:40 | timeshift-btrfs/snapshots/2024-08-30_01-41-40/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-30 01:41:37 | timeshift-btrfs/snapshots/2024-08-30_01-41-37/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-30 01:40:49 | timeshift-btrfs/snapshots/2024-08-30_01-40-49/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-30 00:35:58 | timeshift-btrfs/snapshots/2024-08-30_00-35-58/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-29 19:50:49 | timeshift-btrfs/snapshots/2024-08-29_19-50-49/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-29 19:50:47 | timeshift-btrfs/snapshots/2024-08-29_19-50-47/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-29 10:38:08 | timeshift-btrfs/snapshots/2024-08-29_10-38-08/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-29 10:38:06 | timeshift-btrfs/snapshots/2024-08-29_10-38-06/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-28 19:00:15 | timeshift-btrfs/snapshots/2024-08-28_19-00-15/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-28 19:00:13 | timeshift-btrfs/snapshots/2024-08-28_19-00-13/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-28 17:51:44 | timeshift-btrfs/snapshots/2024-08-28_17-51-44/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-28 17:51:42 | timeshift-btrfs/snapshots/2024-08-28_17-51-42/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-28 14:30:12 | timeshift-btrfs/snapshots/2024-08-28_14-30-12/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-28 14:24:07 | timeshift-btrfs/snapshots/2024-08-28_14-24-07/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-28 12:18:11 | timeshift-btrfs/snapshots/2024-09-01_01-43-23/@ | ondemand | Before restoring '2024-09-01 01:05:17'        |
Found snapshot: 2024-08-28 12:14:36 | timeshift-btrfs/snapshots/2024-08-28_12-18-11/@ | ondemand | Before restoring '2024-08-28 12:14:36'        |
Found snapshot: 2024-08-28 01:02:16 | timeshift-btrfs/snapshots/2024-08-28_01-02-16/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-28 01:02:15 | timeshift-btrfs/snapshots/2024-08-28_01-02-15/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-28 00:48:25 | timeshift-btrfs/snapshots/2024-08-28_00-48-25/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-28 00:05:36 | timeshift-btrfs/snapshots/2024-08-28_00-05-36/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-28 00:05:34 | timeshift-btrfs/snapshots/2024-08-28_00-05-34/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-28 00:03:15 | timeshift-btrfs/snapshots/2024-08-28_00-03-15/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-27 22:54:19 | timeshift-btrfs/snapshots/2024-08-27_22-54-19/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-08-27 22:51:38 | timeshift-btrfs/snapshots/2024-08-27_22-51-38/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found 50 snapshot(s)
Unmount /tmp/grub-btrfs.sDQBm3R7Rp .. Success
done 

I am confused because I clearly have maxSnapshots=10 and deleteSnapshots=true in timeshift-autosnap.cfg, but it is not deleting snapshots.

Offline

Board footer

Powered by FluxBB