dotfiles/scripts/snapshot
2022-02-13 21:02:44 -05:00

4 lines
138 B
Bash
Executable File

#!/bin/bash
sudo btrfs subvolume snapshot / /.snapshots/root-$(date +%F)
sudo btrfs subvolume snapshot /home /.snapshots/home-$(date +%F)