# Btrfs Assistant 1.0 is coming, testers needed

**URL:** <https://forum.endeavouros.com/t/btrfs-assistant-1-0-is-coming-testers-needed/25421>\
**Category:** Community contributions\
**Created:** [March 28, 2022, 1:12am UTC](https://forum.endeavouros.com/t/btrfs-assistant-1-0-is-coming-testers-needed/25421 "2022-03-28T01:12:43Z")\
**Posts on this page:** 1\
**Showing post:** 160

<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:** [June 13, 2022, 3:42pm UTC](https://forum.endeavouros.com/t/btrfs-assistant-1-0-is-coming-testers-needed/25421/160 "2022-06-13T15:42:20Z")

</div>

If you want to plan how to restore root-snapshot without using Live USB in the future:

1. Edit `/etc/mkinitcpio.conf` to add `grub-btrfs-overlayfs` in `HOOKS`.
2. Run `sudo mkinitcpio -P`
3. Create a new root snapshot with the ability `grub-btrfs-overlayfs`, but all old snapshots do not have this ability.
4. You can boot into some read-only snapshot with the ability Overlayfs from Grub menu.
5. Then restore any snapshot in Btrfs Assistant, then reboot.

If you need the Desktop notification to detect if you are using Overlayfs after booting into read-only snapshot:

1. Create a new script `/usr/local/bin/btrfs-assisant-detects-snapshot` :

```bash
#!/bin/bash
if stat -f -c '%T' / | grep -q 'btrfs'; then
  exit 0
fi
notify-send -u critical -i btrfs-assistant 'Detected!' 'Booted into snapshot, please restore the snapshot.'

```

1. `sudo chmod +x /usr/local/bin/btrfs-assisant-detects-snapshot`

2. Create a new script `/etc/xdg/autostart/btrfs-assistant-detects-snapshot.desktop` for startup

```auto
[Desktop Entry]
Name=Snapshot Detect
Icon=btrfs-assistant
Exec=/usr/local/bin/btrfs-assisant-detects-snapshot
Terminal=false
Type=Application

```

See the example:  
 ![image](https://forum.endeavouros.com/uploads/default/original/3X/0/5/05986ca14f82f3d87f540765f9640dff18dd6270.png)

---

_[View the full topic](https://forum.endeavouros.com/t/btrfs-assistant-1-0-is-coming-testers-needed/25421)._
