I’m having some issue’s with timeshift on btrfs, I want to have the recovery from grub, thus rsync is not an option.
Something seems to be wrong with my target subvolume or the mounting of it by timeshift ?
In full disclosure, this is a fresh EOS install, except I moved the subvolumes (all) to a different btrfs partition, with a btrfs snapshot and restore, don’t think it should matter though.
$ sudo timeshift --create --comments “Top_Level_Fixed” --tags D
Using system disk as snapshot device for creating snapshots in BTRFS mode
Mounted ‘/dev/nvme0n1p5’ (subvolid=0) at ‘/run/timeshift/10293/backup’
Creating new backup…(BTRFS)
Saving to device: /dev/nvme0n1p5, mounted at path: /run/timeshift/10293/backup
Created directory: /run/timeshift/10293/backup/timeshift-btrfs/snapshots/2025-11-15_18-22-49
E: ERROR: Could not create subvolume: Text file busy
E: btrfs returned an error: 256
E: Failed to create subvolume snapshot: @
Failed to create snapshot
$ timeshift --version
Timeshift 25.07.7
$ sudo btrfs subvolume list /
ID 257 gen 416797 top level 5 path @home
ID 4121 gen 416797 top level 5 path @
ID 4124 gen 416765 top level 5 path @cache
ID 4126 gen 416797 top level 5 path @log
ID 4128 gen 405795 top level 4121 path var/lib/portables
ID 4129 gen 405795 top level 4121 path var/lib/machines
ID 4135 gen 406191 top level 4121 path swap
(I have already disabled cache and log mounts, make no difference)
If anybody has an idea about what to try or how to fix, feel free, I tried a few things already, but I’m a bit out of clue what is the issue here. Thank you
Are you using a swapfile? If you are, make sure your swapfile is in it’s own subvolume. You can’t take a snapshot of a subvolume with a swapfile in it.
Giving me the same error indeed:
$ sudo btrfs subvolume snapshot / /snaptest
ERROR: Could not create subvolume: Text file busy
Ah I think this would be more like the required info, so yes I guess?
$ sudo btrfs subvolume list /
ID 257 gen 417165 top level 5 path @home
ID 4121 gen 417165 top level 5 path @
ID 4124 gen 416765 top level 5 path @cache
ID 4126 gen 417165 top level 5 path @log
ID 4128 gen 405795 top level 4121 path var/lib/portables
ID 4129 gen 405795 top level 4121 path var/lib/machines ID 4135 gen 406191 top level4121 path swap
$ sudo swapoff /swapfile
$ sudo timeshift --create --comments “Top_Level_Fixed” --tags D
Using system disk as snapshot device for creating snapshots in BTRFS mode
Mounted ‘/dev/nvme0n1p5’ (subvolid=0) at ‘/run/timeshift/69411/backup’
Creating new backup…(BTRFS)
Saving to device: /dev/nvme0n1p5, mounted at path: /run/timeshift/69411/backup
Created directory: /run/timeshift/69411/backup/timeshift-btrfs/snapshots/2025-11-15_21-46-34
Created subvolume snapshot: /run/timeshift/69411/backup/timeshift-btrfs/snapshots/2025-11-15_21-46-34/@
Created control file: /run/timeshift/69411/backup/timeshift-btrfs/snapshots/2025-11-15_21-46-34/info.json
BTRFS Snapshot saved successfully (0s)
Tagged snapshot ‘2025-11-15_21-46-34’: ondemand
thank you