# First experiment with installing on BTRFS

**URL:** <https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145>\
**Category:** EndeavourOS installation\
**Created:** [September 17, 2020, 4:44pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145 "2020-09-17T16:44:09Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![robgriff444](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/robgriff444/32/5459_2.png) [@robgriff444](https://forum.endeavouros.com/u/robgriff444)\
**Post date:** [September 17, 2020, 5:54pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/21 "2020-09-17T17:54:17Z")

</div>

Do you do this? It seemed too many steps, ie external drive must be btrfs, snapshot must be read-only so it has to be copied/made, then the receiving drive has to be setup first, am I wrong? I liked the idea but …

---

<div class="post-metadata">

**Author:** ![robgriff444](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/robgriff444/32/5459_2.png) [@robgriff444](https://forum.endeavouros.com/u/robgriff444)\
**Post date:** [September 17, 2020, 5:56pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/22 "2020-09-17T17:56:46Z")

</div>

For me, I try to use the least number of things that can go wrong so I wouldn’t use refind so I have no experience with it. And I didn’t need a 2nd drive with btrfs to give me rollbacks from snapshots, and I use fsarchiver as a 2nd level of defence, so I just used ext4.

---

<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:** [September 17, 2020, 6:01pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/23 "2020-09-17T18:01:01Z")

</div>

I put four different linux distributions out of a single ESP and a single zfs partition using systemd-boot.

I don’t think anything I am doing is really zfs specific and I suspect you could do the same thing with btrfs

> [@robgriff444](#):
>
> Do you do this? It seemed too many steps, ie external drive must be btrfs, snapshot must be read-only so it has to be copied/made, then the receiving drive has to be setup first, am I wrong?

Snapshot replication has so many advantages over rsync. Not only can you retain the snapshot history with minimal disk space but performance is overwhelmingly better. Both in terms of how long it takes and how much system resources it uses on both sides.

---

<div class="post-metadata">

**Author:** ![robgriff444](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/robgriff444/32/5459_2.png) [@robgriff444](https://forum.endeavouros.com/u/robgriff444)\
**Post date:** [September 17, 2020, 6:04pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/24 "2020-09-17T18:04:58Z")

</div>

> [@dalto](#):
>
> Snapshot replication has so many advantages over rsync. Not only can you retain the snapshot history with minimal disk space but performance is overwhelmingly better. Both in terms of how long it takes and how much system resources it uses on both sides.

Agreed, but … I don’t need the speed, and I have more than enough space, I just want the easiest restore if I break it.

---

<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:** [September 17, 2020, 6:07pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/25 "2020-09-17T18:07:54Z")

</div>

> [@robgriff444](#):
>
> I just want the easiest restore if I break it.

I can’t think of many situations in which restoring rsync data would be easier than using snapshots.

Are you it isn’t just unfamiliar to you as opposed to more difficult?

---

<div class="post-metadata">

**Author:** ![anon72019930](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f07891/32.png) [@anon72019930](https://forum.endeavouros.com/u/anon72019930)\
**Post date:** [September 17, 2020, 6:09pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/26 "2020-09-17T18:09:36Z")

</div>

> [@robgriff444](#):
>
> Do you do this? It seemed too many steps, ie external drive must be btrfs, snapshot must be read-only so it has to be copied/made, then the receiving drive has to be setup first, am I wrong? I liked the idea but …

Actually, no i don’t do it (yet). My snapshots remain on the same disk for now. But i think it is not that complicated. Setup once (format receiving disk with btrfs, etc.) then could be done/“simplified” via bash alias, script, `systemd timer` or something 😁

---

<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:** [September 17, 2020, 6:10pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/27 "2020-09-17T18:10:41Z")

</div>

One of the traps that people sometimes fall into is equating timeshift functionality with snapshots. However, because timeshift is so limiting and inflexible, they are missing out on many of the benefits that snapshots bring.

---

<div class="post-metadata">

**Author:** ![robgriff444](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/robgriff444/32/5459_2.png) [@robgriff444](https://forum.endeavouros.com/u/robgriff444)\
**Post date:** [September 17, 2020, 6:11pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/28 "2020-09-17T18:11:28Z")

</div>

If my snapshots are on a 2nd drive with rsync / timeshift it’s just a few buttons. Backups are one of the things I really like a gui for coz there are too many options to remember on cli when I use it to restore so infrequently.  
How can btrfs on a 2nd drive be easier than this?  
You are right, I am unfamiliar but I don’t see the need to learn these send receive commands for this use case.

---

<div class="post-metadata">

**Author:** ![robgriff444](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/robgriff444/32/5459_2.png) [@robgriff444](https://forum.endeavouros.com/u/robgriff444)\
**Post date:** [September 17, 2020, 6:13pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/29 "2020-09-17T18:13:04Z")

</div>

I use btrfs sub snapshot commands myself for installation and messing about and I have rolled back with btrfs commands but I also see a need to have the same snapshots stored on a 2nd drive.

---

<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:** [September 17, 2020, 6:13pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/30 "2020-09-17T18:13:48Z")

</div>

> [@robgriff444](#):
>
> How can btrfs on a 2nd drive be easier than this?

Well, for one thing, your snapshots would be resident on both the local drive and the remote drive. You wouldn’t have to recover across drives in the first place. You could literally just reboot into the previous snapshot.

The only reason for the copy on the second drive is to ensure against drive failure. However, that probably isn’t the most common reason to restore a snapshot.

---

<div class="post-metadata">

**Author:** ![robgriff444](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/robgriff444/32/5459_2.png) [@robgriff444](https://forum.endeavouros.com/u/robgriff444)\
**Post date:** [September 17, 2020, 6:15pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/31 "2020-09-17T18:15:41Z")

</div>

But rebooting to a snaphot only requires it to be on the main drive. For me, a 2nd drive is only required in the case that doesn’t work. And like I said I use fsarchiver for catastrophic failures.

---

<div class="post-metadata">

**Author:** ![RodneyCK](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/rodneyck/32/9324_2.png) [@RodneyCK](https://forum.endeavouros.com/u/RodneyCK)\
**Post date:** [September 17, 2020, 6:17pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/32 "2020-09-17T18:17:04Z")

</div>

> [@robgriff444](#):
>
> I haven’t used timeshift with btrfs but I was wondering if it could be used to create btrfs snapshots locally and rsync snapshots on another drive. I guess it could be started twice with command-line options?

Garuda Linux uses BTRFS and Timeshift by default install using Grub to automatically make backups. I am not sure about an option for a second drive.

---

<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:** [September 17, 2020, 6:18pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/33 "2020-09-17T18:18:23Z")

</div>

🤷‍♂️

I am not trying to tell you how to manage your system. Do it however you like.

But I just don’t think that rsync snapshots are easier or better than real filesystem snapshots.

---

<div class="post-metadata">

**Author:** ![robgriff444](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/robgriff444/32/5459_2.png) [@robgriff444](https://forum.endeavouros.com/u/robgriff444)\
**Post date:** [September 17, 2020, 6:20pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/34 "2020-09-17T18:20:08Z")

</div>

Yeah the problem is with timeshift using both btrfs and rsync modes, not timeshift with btrfs which I know works. I think I answered my own question ie start it from cli twice with 2 different options.

---

<div class="post-metadata">

**Author:** ![robgriff444](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/robgriff444/32/5459_2.png) [@robgriff444](https://forum.endeavouros.com/u/robgriff444)\
**Post date:** [September 17, 2020, 6:23pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/35 "2020-09-17T18:23:12Z")

</div>

It’s ok I’m not rattled matey

If btrfs was easy to set up on a 2nd drive I would use it without hesitation, I just don’t think it’s simple enough for a fraught backup situation! I looked at the commands to set it up and i was confused enough to try something else.

---

<div class="post-metadata">

**Author:** ![anon72019930](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f07891/32.png) [@anon72019930](https://forum.endeavouros.com/u/anon72019930)\
**Post date:** [September 17, 2020, 6:24pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/36 "2020-09-17T18:24:21Z")

</div>

> [@dalto](#):
>
> The only reason for the copy on the second drive is to ensure against drive failure. However, that probably isn’t the most common reason to restore a snapshot.

and that’s the reason i allow myself a little bit of laziness here for the system snapshots. Backing up my personal data to another disk is enough for me 😜

---

<div class="post-metadata">

**Author:** ![robgriff444](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/robgriff444/32/5459_2.png) [@robgriff444](https://forum.endeavouros.com/u/robgriff444)\
**Post date:** [September 17, 2020, 6:26pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/37 "2020-09-17T18:26:48Z")

</div>

> [@dalto](#):
>
> But I just don’t think that rsync snapshots are easier or better than real filesystem snapshots.

1. btrfs/zfs snapshots have no equivalent (TrueOS were using zfs boot snapshots years ago and it was so meant to be!), timeshift is outmatched and I dumped it as soon as I installed btrfs and used proper btrfs subvol snapshots.
2. btrfs send / receive to another drive (full replication) seems overly complex so timeshift got a call back to my reserve team in order to keep a fully independant rsync snapshot on my backup drive. I would use this if the main drive had to be re-installed and an rsync snapshot would bring it back up to date.
3. as I use fsarchiver for catastrophic failures I’m not even sure timeshift has ANY use to me any more 🕶

---

<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:** [September 17, 2020, 6:31pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/38 "2020-09-17T18:31:16Z")

</div>

@pebcak  
So if i understand correctly you created two partitions with gparted. One EFI partition or ESP as they call it and a /.

Btrfs automatically creates the subvolumes @ and @home.

So you can also install Timeshift and set it up. I’m just not that familiar with the process not having used Timeshift that much. I know it has rsync and btrfs settings. So it shouldn’t be too difficult if you read up on it and also ask for some assistance from those who have used it.

I have never been much of a back up person. I just reinstall so much and mess around that it doesn’t matter to me that much. I’m always trying something different. Sometimes i don’t like it so i end up doing something else anyway. 🤣

![Screenshot_20200917_142704](https://forum.endeavouros.com/uploads/default/original/2X/2/21ed73aa1ff8b90b0f00fef0f77e13e07ff851df.png)

Edit: By the way…I’m happy you tried this experiment. That’s how you learn! Knowing your own hardware is key.

Edit: I think there is a btrfs grub package if you want to do timeshift snapshots. Better you ask @2000 about this or someone else who knows more. I’m just noob when it comes to some of this.

---

<div class="post-metadata">

**Author:** ![anon31687413](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/bc8723/32.png) [@anon31687413](https://forum.endeavouros.com/u/anon31687413)\
**Post date:** [September 17, 2020, 6:44pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/39 "2020-09-17T18:44:37Z")

</div>

> [@robgriff444](#):
>
> btrfs send / receive to another drive seems overly complex

There are tools that help you with that, e.g. [`btrbk`](https://github.com/digint/btrbk) (AUR).

---

<div class="post-metadata">

**Author:** ![robgriff444](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/robgriff444/32/5459_2.png) [@robgriff444](https://forum.endeavouros.com/u/robgriff444)\
**Post date:** [September 17, 2020, 6:50pm UTC](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145/40 "2020-09-17T18:50:26Z")

</div>

Thanks @torvic9 I’ll take a look

[Previous page](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145.md?page=1)

[Next page](https://forum.endeavouros.com/t/first-experiment-with-installing-on-btrfs/8145.md?page=3)
