Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BackArch

Btrfs bootable snapshot manager for Arch Linux

WARNING: Proof of concept. Use at your own risk. May break your system

What it does?

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

Requirements

- 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)

Fast start

sudo ./backarch --paths="/ /usr /home" --init="systemd"(also supports OpenRC: --init="openrc")

For more info

./backarch --tutorial (Tutorial is outdated for now, sorry)

Configuration

See backarch.conf.example for all options

Status

Works on my system, 0 tests on other configurations, very unstable/experimental Slow develop process due to life situation

To do

- Normal OpenRC/SystemD support
- Cache and Snapshots clear support
- Snapshot timer for autocreate/autodelete
- Better logic and stability

License

GPLv3. See LICENSE file.

About

Script for bootable system snapshots, based on btrfs, now only for Arch Linux. Proof of concept, not stable

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages