linuxmint / timeshift

System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots. Supports scheduled snapshots, multiple backup levels, and exclude filters. Snapshots can be restored while system is running or from Live CD/USB.
2.52k stars 91 forks source link

timeshift won't recognize @ subvolume #90

Open hugeblank opened 2 years ago

hugeblank commented 2 years ago

Describe the bug I'm trying to set up timeshift on an existing archlinux setup. I have created 2 subvolumes @ and @home, just like the readme says. I've gone through the process of moving all my files from the top volume down into the new subvolumes, and reconfigured everything that needed tweaking. When I go into timeshift to set up the snapshots, I select the disk with the btrfs volume, and @ subvolume. When hitting next I get stopped and told to select the disk that has the @ subvolume.

My assumption is that this is user error, but I'm not sure what I could possibly be doing wrong in configuring the setup. Figured I'd report anyways, in case this is a bug.

To Reproduce Steps to reproduce the behavior:

  1. Create 2 sub-volumes, @ and @home
  2. Install operating system (or move existing installation in my case)
  3. Install, launch, and set up timeshift
  4. Get blocked at error message

Expected behavior Timeshift should recognize the subvolumes I've made

Screenshots image subvolumes reported by btrfs image my fstab

System:

second2050 commented 1 year ago

I am having the same problem if the default subvolume is set to something different then the btrfs root subvolume (subvolid=5) If the default subvolume is set to subvolid=5 (via btrfs subvolume set-default 5 / for example) then it recognizes the @ subvolume correctly. Just remember to edit your kernel parameters to include rootflags=subvol=/path/to/@ if you do this.