# Call for testing BTRFS Assistant

**URL:** <https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770>\
**Category:** Community contributions\
**Created:** [December 4, 2021, 8:18pm UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770 "2021-12-04T20:18:35Z")\
**Posts on this page:** 18\
**Page:** 13

<div class="post-metadata">

**Author:** ![HMS\_Endeavour](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/h/9d8465/32.png) [@HMS\_Endeavour](https://forum.endeavouros.com/u/HMS_Endeavour)\
**Post date:** [March 6, 2022, 7:53pm UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/242 "2022-03-06T19:53:05Z")

</div>

> [@dalto](#):
>
> If that is your whole `/etc/fstab`, then nothing should need to be changed. snapper will automatically create those subvolumes for you.

Yes that’s the whole fstab

> [@dalto](#):
>
> In the spirit of full disclosure I would point out what this package does:
> 
> - It forces the removal of `timeshift` and `timeshift-autosnap`
> - It installs and configured `snapper`, `snap-pac` and `grub-btrfs`
> - It creates an initial snapper config for `/`
> - It enables the snapper-timeline and snapper-cleanup timers
> - It enables the grub-btrfs path unit(This regenerates the grub snapshot menu when a snapshot is taken)

What would happen to the present snapshots and btrfs subvolumes?

How will we restore a selected snapshot from the grub menu? We usually select the corresponding snapshot in Timeshift and restore.

What do you see are the advantages of snapper over timeshift-snapper?

Sorry for all the questions, but I am always careful not to break what isn’t broken, when I don’t know much about a subject.

Michael

---

<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:** [March 6, 2022, 8:02pm UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/243 "2022-03-06T20:02:33Z")

</div>

> [@HMS\_Endeavour](#):
>
> What would happen to the present snapshots and btrfs subvolumes?

Are you referring to `btrfs-assistant` or `snapper-support`? Either way, they don’t delete your existing subvolumes/timeshift snapshots.

> [@HMS\_Endeavour](#):
>
> How will we restore a selected snapshot from the grub menu?

If you want to boot into a snapshot, you can use `grub-btrfs`, the same as timeshift. If you want to restore a snapshot, you open btrfs-assistant, go to restore mode, select the snapshot and hit ‘restore’ and reboot.

> [@HMS\_Endeavour](#):
>
> What do you see are the advantages of snapper over timeshift-snapper?

I am not sure what timeshift-snapper is but I will assume you mean timeshift 😄

- snapper supports taking snapshots of any mounted subvolume, not only @ or @home.
- snapper allows you to name your snapshots however you like
- snapper supports both flat and nested subvolume layouts
- snapper creates read-only snapshots
- tools have been created for snapper which allow snapshot replication to external hosts/devices to allow snapshots to be used as part of a backup strategy
- snapper doesn’t require the root of the btrfs partition to be mounted

Basically, snapper is both more powerful and more flexible.

That being said, if you are happy with what timeshift is doing for you, there is no reason to switch. You should only switch to snapper if the limitations in timeshift bother you.

---

<div class="post-metadata">

**Author:** ![HMS\_Endeavour](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/h/9d8465/32.png) [@HMS\_Endeavour](https://forum.endeavouros.com/u/HMS_Endeavour)\
**Post date:** [March 6, 2022, 9:54pm UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/244 "2022-03-06T21:54:41Z")

</div>

Thanks for the detailed response.

> [@dalto](#):
>
> am not sure what timeshift-snapper is but I will assume you mean timeshift 😄

It was a typo: I meant timeshift-autosnap, which you already said is forcibly deleted at install of BTRFS Assistant.

> [@dalto](#):
>
> tools have been created for snapper which allow snapshot replication to external hosts/devices

Can BTRFS Assistant browse to a snapshop on an external USB and restore it?  
What are the steps from booting up in the grub menu and restoring a rw snapshot from an external device?

This is what I have now.  
 ![Capture d’écran du 2022-03-06 17-29-13](https://forum.endeavouros.com/uploads/default/original/3X/0/f/0f123f4eb46df0f78e7690630e4a697362fa3d1c.png)

![btrfs-list-capture d’écran du 2022-03-06 17-21-26](https://forum.endeavouros.com/uploads/default/original/3X/d/f/dfec7c3f5d357cc95ba0f923bfb89041a202299c.png)

 ![findmnt-capture d’écran du 2022-03-06 17-50-32](https://forum.endeavouros.com/uploads/default/original/3X/b/9/b9f6247e264e90d8387c4720645211c94e17fe13.png)

Is this set up ok to git clone BTRFS Assistant?  
Are there any other packages I need, or does it pull in the dependencies?

Thanks for a great project. I like using more advanced tools to make life easier.

Michael

---

<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:** [March 6, 2022, 10:04pm UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/245 "2022-03-06T22:04:43Z")

</div>

> [@HMS\_Endeavour](#):
>
> Can BTRFS Assistant browse to a snapshop on an external USB and restore it?

Nothing can do that. btrfs snapshots don’t work that way.

> [@HMS\_Endeavour](#):
>
> What are the steps from booting up in the grub menu and restoring a rw snapshot from an external device?

You would first have to use snapshot replication to replicate the snapshot to the target device, then you could use btrfs-assistant to restore it.

> [@HMS\_Endeavour](#):
>
> Is this set up ok to git clone BTRFS Assistant?

No problems there.

> [@HMS\_Endeavour](#):
>
> Are there any other packages I need, or does it pull in the dependencies?

It pulls in the dependencies it needs to run but you probably want to install the optional dependencies as well, `snapper` and `btrfsmaintenance` If you want `snap-pac` or `btrfs-grub` you will need to install those as well.

---

<div class="post-metadata">

**Author:** ![MindTheGAAP](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/mindthegaap/32/47060_2.png) [@MindTheGAAP](https://forum.endeavouros.com/u/MindTheGAAP)\
**Post date:** [March 25, 2022, 2:02pm UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/246 "2022-03-25T14:02:59Z")

</div>

on my Arch machine, I have the following settings. Does it look right to you guys?

![image](https://forum.endeavouros.com/uploads/default/original/3X/a/7/a72a7e4f122cc7571ff07d1212d7603b67b7ba3d.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:** [March 25, 2022, 3:10pm UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/247 "2022-03-25T15:10:34Z")

</div>

I don’t think there is really a “right” way to do it.

Is there a reason you are only balancing and scrubbing your root filesystem?

---

<div class="post-metadata">

**Author:** ![MindTheGAAP](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/mindthegaap/32/47060_2.png) [@MindTheGAAP](https://forum.endeavouros.com/u/MindTheGAAP)\
**Post date:** [March 25, 2022, 3:16pm UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/248 "2022-03-25T15:16:11Z")

</div>

> [@dalto](#):
>
> nci

Hi Dalto. I haven’t touched the settings. I believe these are all the default settings. May be I should apply the balance, scrub and defrag to all subvolumes.

Also, I noticed that I check marks for the Trim Timer and Defrag Timer boxes won’t save. When I reopen after saving, they show unchecked for some reason.

Part of Arch install, I did enable weekly trim with this command `systemctl enable fstrim.timer`

---

<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:** [March 25, 2022, 3:20pm UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/249 "2022-03-25T15:20:33Z")

</div>

> [@MindTheGAAP](#):
>
> May be I should apply the balance, scrub and defrag to all subvolumes.

That is up to you. If you enable the defrag, I would do it infrequently. Monthly at most. I usually leave it disabled on an SSD.

> [@MindTheGAAP](#):
>
> Also, I noticed that I check marks for the Trim Timer and Defrag Timer boxes won’t save. When I reopen after saving, they show unchecked for some reason.

That sounds like a bug I need to look at.

> [@MindTheGAAP](#):
>
> Part of Arch install, I did enable weekly trim with this command `systemctl enable fstrim.timer`

You don’t need to enable both. I would use the normal fstrim.timer instead of the btrfs maintenance one.

---

<div class="post-metadata">

**Author:** ![MindTheGAAP](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/mindthegaap/32/47060_2.png) [@MindTheGAAP](https://forum.endeavouros.com/u/MindTheGAAP)\
**Post date:** [March 25, 2022, 3:23pm UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/250 "2022-03-25T15:23:32Z")

</div>

Thank you for the clarification.

Do you think since I have fstrim enabled, I can’t enable Trim Timer in the app?

---

<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:** [March 25, 2022, 3:26pm UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/251 "2022-03-25T15:26:04Z")

</div>

> [@MindTheGAAP](#):
>
> Do you think since I have fstrim enabled, I can’t enable Trim Timer in the app?

Nope. I think it is a bug in the application I need to fix.

---

<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:** [March 25, 2022, 3:42pm UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/252 "2022-03-25T15:42:31Z")

</div>

Hmm? I’m not so sure is a bug?

![Screenshot_20220325_114156](https://forum.endeavouros.com/uploads/default/original/3X/b/8/b802a4dd319adb051b111229e4dc0c02610a915e.png)

---

<div class="post-metadata">

**Author:** ![Zesko](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/zesko/32/77795_2.png) [@Zesko](https://forum.endeavouros.com/u/Zesko)\
**Post date:** [March 25, 2022, 7:55pm UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/253 "2022-03-25T19:55:50Z")

</div>

> [@measmityadav](#):
>
> I’l try it in a Gnome VM.

> [@dalto](#):
>
> You could try running this as the root user:
> 
> ```auto
> gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'
> 
> ```
> 
> That being said, I found that in a google search, I haven’t tested it.

No, it does not work in Gnome, because GUI of BTRFS-assistant is not GTK, but QT.  
Try to install `gt5ct`, then run it as root `sudo qt5ct` that can change the theme for BTRFS-assistant.

But `sudo qt5ct` does not offer many themes, then try to install `kvantum` and change the style to `kvantum` in the setting of `sudo qt5ct` . You need to run `sudo kvantummanager` that can add/change any theme for BTRFS-assistant.

---

<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:** [March 27, 2022, 9:36pm UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/254 "2022-03-27T21:36:57Z")

</div>

> [@MindTheGAAP](#):
>
> Also, I noticed that I check marks for the Trim Timer and Defrag Timer boxes won’t save. When I reopen after saving, they show unchecked for some reason.

Hmm…so this is interesting. The issue is that Btrfs Maintenance is managing those services. So basically, Btrfs Assistant enables them and then Btrfs Maintenance disables them again.

I should probably remove those checkboxes if Btrfs Maintenance manages them.

---

<div class="post-metadata">

**Author:** ![MindTheGAAP](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/mindthegaap/32/47060_2.png) [@MindTheGAAP](https://forum.endeavouros.com/u/MindTheGAAP)\
**Post date:** [March 28, 2022, 12:20am UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/255 "2022-03-28T00:20:03Z")

</div>

> [@dalto](#):
>
> Btrfs Maintenance

Hi Dalto, when you say “BTRFS Maintenance”, are you referring to the back end of BTRFS file system ? Or is there a specific script that you are referring to?

---

<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:** [March 28, 2022, 12:21am UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/256 "2022-03-28T00:21:47Z")

</div>

> [@MindTheGAAP](#):
>
> when you say “BTRFS Maintenance”, are you referring to the back end of BTRFS file system ? Or is there a specific script that you are referring to?

I am referring to [https://github.com/kdave/btrfsmaintenance](https://github.com/kdave/btrfsmaintenance) which is what that tab controls.

---

<div class="post-metadata">

**Author:** ![MindTheGAAP](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/mindthegaap/32/47060_2.png) [@MindTheGAAP](https://forum.endeavouros.com/u/MindTheGAAP)\
**Post date:** [March 28, 2022, 12:33am UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/257 "2022-03-28T00:33:14Z")

</div>

aah gotcha!

---

<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:** [March 28, 2022, 12:53am UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/258 "2022-03-28T00:53:00Z")

</div>

I am closing this now because 1.0 is coming soon and most of the information in this topic is out of date and no longer correct.

I will start a new topic for 1.0 testing soon.

---

<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:** [March 28, 2022, 12:53am UTC](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770/259 "2022-03-28T00:53:03Z")

</div>



[Previous page](https://forum.endeavouros.com/t/call-for-testing-btrfs-assistant/20770.md?page=12)
