Btrfs bootable snapshot manager for Arch Linux
WARNING: Proof of concept. Use at your own risk. May break your system
BackArch creates bootable system copies based on btrfs snapshots. It creates snapshots of subvolumes, then adds them to /.snapshots/{SYSTEMCOPY}/etc/fstab, Then adds GRUB entry file for system copy, reloads grub.cfg and mkinitcpio with "usr" hook
- Arch Linux (newest versions)
- Btrfs
- GRUB
- Mkinitcpio
- Btrfs subvolumes(recommended): @system(/), @usr(recommended), @home(optional), @var(optional), @boot(optional),
@snaps and @snaps_cache(both optional, for stability)
sudo ./backarch --paths="/ /usr /home" --init="systemd"(also supports OpenRC: --init="openrc")./backarch --tutorial (Tutorial is outdated for now, sorry)See backarch.conf.example for all options
Works on my system, 0 tests on other configurations, very unstable/experimental Slow develop process due to life situation
- Normal OpenRC/SystemD support
- Cache and Snapshots clear support
- Snapshot timer for autocreate/autodelete
- Better logic and stability
GPLv3. See LICENSE file.