# Btrfs setup with Timeshift & snapshots not right?

**URL:** <https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496>\
**Category:** EndeavourOS installation\
**Created:** [August 12, 2021, 1:57am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496 "2021-08-12T01:57:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [August 12, 2021, 1:57am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/1 "2021-08-12T01:57:34Z")

</div>

New install with btrfs auto snap-shots and timeshift. Doesn’t seem correct. I installed grub-btrfs, timeshift, btrfs-autosnaps. When in timeshift i cannot browse to the files. Two directories were created that have @ with weird naming scheme? Not sure that it is correct.

 ![Screenshot_20210811_215540](https://forum.endeavouros.com/uploads/default/original/3X/b/2/b264db6a66b14f5be488739376ef26655faaa095.png)

 ![Screenshot_20210811_215614](https://forum.endeavouros.com/uploads/default/original/3X/d/2/d284c0d99cf2d78d4398995f4f04d17222687ffe.png)

fstab

[https://clbin.com/aLJdx](https://clbin.com/aLJdx)

Edit: Timeshift browse won’t open

 ![Screenshot_20210811_220004](https://forum.endeavouros.com/uploads/default/original/3X/1/5/15260357a4a35f194aad7f789706ea395e8baa49.png)

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [August 12, 2021, 2:02am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/2 "2021-08-12T02:02:34Z")

</div>

> [@ricklinux](#):
>
> Two directories were created that have @ with weird naming scheme? Not sure that it is correct.

What does this command show?

```plaintext
sudo btrfs subvolume list /

```

> [@ricklinux](#):
>
> Edit: Timeshift browse won’t open

It doesn’t work in plasma. You can still browse to them in your file manager.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [August 12, 2021, 2:03am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/3 "2021-08-12T02:03:40Z")

</div>

```auto
[ricklinux@eos-kde ~]$ sudo btrfs subvolume list /
[sudo] password for ricklinux: 
ID 256 gen 249 top level 5 path @
ID 257 gen 254 top level 5 path @home
ID 258 gen 196 top level 5 path @cache
ID 259 gen 252 top level 5 path @log
ID 260 gen 196 top level 5 path @swap
ID 263 gen 27 top level 256 path var/lib/portables
ID 264 gen 28 top level 256 path var/lib/machines
ID 290 gen 196 top level 5 path @-0gyqxf
ID 292 gen 196 top level 5 path @-g7un5v
ID 295 gen 230 top level 5 path timeshift-btrfs/snapshots/2021-08-11_21-58-35/@
ID 296 gen 231 top level 5 path timeshift-btrfs/snapshots/2021-08-11_21-58-35/@home
[ricklinux@eos-kde ~]$ 

```

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [August 12, 2021, 2:04am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/4 "2021-08-12T02:04:23Z")

</div>

Oops that was the wrong command. I fixed it above.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [August 12, 2021, 2:05am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/5 "2021-08-12T02:05:06Z")

</div>

I can browse to them through dolphin. Do you mean timeshift doesn’t open in KDE to browse that way?

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [August 12, 2021, 2:05am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/6 "2021-08-12T02:05:44Z")

</div>

> [@ricklinux](#):
>
> Do you mean timeshift doesn’t open in KDE to browse that way?

I mean the browse button in timeshift doesn’t work in plasma.

It is because all that button does is open your default file manager. However, timeshift is running as root because, apparently, running the application as root is a better choice than actually designing it in a way that properly escalates permissions. Dolphin is restricted from running as root so when timeshift tries to open dolphin it fails.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [August 12, 2021, 2:09am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/7 "2021-08-12T02:09:42Z")

</div>

> [@ricklinux](#):
>
> ```auto
> ID 263 gen 27 top level 256 path var/lib/portables
> ID 264 gen 28 top level 256 path var/lib/machines
> ID 290 gen 196 top level 5 path @-0gyqxf
> ID 292 gen 196 top level 5 path @-g7un5v
> 
> ```

I’m concerned about these? Don’t seem right?

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [August 12, 2021, 2:10am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/8 "2021-08-12T02:10:22Z")

</div>

It looks like you have one timeshift snapshot.

I am not sure what those `@-*` subvolumes are, that is not normal. What is in them?

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [August 12, 2021, 2:10am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/9 "2021-08-12T02:10:51Z")

</div>

The first two are created by systemd. Those are normal.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [August 12, 2021, 2:11am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/10 "2021-08-12T02:11:31Z")

</div>

They seemed to get created when i installed grub-btrfs and updated grub and rebooted? I think?

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [August 12, 2021, 2:12am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/11 "2021-08-12T02:12:10Z")

</div>

Did you boot into a snapshot? I have never used btrfs-grub but I think it must somehow create read/write copies of your snapshots in order for you to boot into them. Perhaps that is what those are?

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [August 12, 2021, 2:15am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/12 "2021-08-12T02:15:11Z")

</div>

No? I just set it up to see if i could do it. Here is what is inside the folders. Both look like it’s the same.

![Screenshot_20210811_221229](https://forum.endeavouros.com/uploads/default/original/3X/c/2/c2b63c079ea32e2e38f7c1afbf2db5d3c1b02efc.png)

![Screenshot_20210811_221308](https://forum.endeavouros.com/uploads/default/original/3X/9/8/98df04ac817e2bbe1c6097a1729e1dfb108a8c48.png)

Edit: It looks like it copied the /

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [August 12, 2021, 2:16am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/13 "2021-08-12T02:16:39Z")

</div>

Those look like snapshots of the root.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [August 12, 2021, 2:17am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/14 "2021-08-12T02:17:12Z")

</div>

Can i just delete both Directories and how with everything inside the folders it will be a pain.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [August 12, 2021, 2:17am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/15 "2021-08-12T02:17:45Z")

</div>

Why would it take snapshots of the root?

Edit: Is there a way i can delete the two folders with everything in them easily?

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [August 12, 2021, 2:20am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/16 "2021-08-12T02:20:30Z")

</div>

Yes, you can destroy the subvolumes. You don’t want to delete the data from within snashots.

```nohighlight
sudo btrfs subvolume delete <subvolume>

```

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [August 12, 2021, 2:21am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/17 "2021-08-12T02:21:22Z")

</div>

I don’t know how to do that. Did you look at the fstab? Is it correct?

Edit: They aren’t listed there. So i’m confused.

Edit2: Obviously I’m not doing this right?

```auto
[ricklinux@eos-kde ~]$ sudo btrfs subvolume delete @-g7un5v
[sudo] password for ricklinux: 
ERROR: Could not statfs: No such file or directory
[ricklinux@eos-kde ~]$ 

```

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [August 12, 2021, 2:24am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/18 "2021-08-12T02:24:26Z")

</div>

> [@ricklinux](#):
>
> Did you look at the fstab? Is it correct?

Looks fine to me except that you don’t need to set btrfs subvolumes to fsck.

> [@ricklinux](#):
>
> They aren’t listed there. So i’m confused.

`/etc/fstab` shows the filesystems you mount. snapshots shouldn’t be mounted unless you need to do so for recovery purposes so they won’t be in fstab.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [August 12, 2021, 2:25am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/19 "2021-08-12T02:25:54Z")

</div>

It’s not deleting them. For the subvolume i enter exactly the folder name with the @?

Edit: Maybe I don’t have the path?

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [August 12, 2021, 2:30am UTC](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496/20 "2021-08-12T02:30:20Z")

</div>

> [@ricklinux](#):
>
> Maybe I don’t have the path?

Yes, you need the path to them.

Alternatively, you can use the subvolid.

[Next page](https://forum.endeavouros.com/t/btrfs-setup-with-timeshift-snapshots-not-right/16496.md?page=2)
