dotfiles/scripts/snapshot

4 lines
138 B
Plaintext
Raw Permalink Normal View History

2022-01-18 01:25:46 -05:00
#!/bin/bash
sudo btrfs subvolume snapshot / /.snapshots/root-$(date +%F)
sudo btrfs subvolume snapshot /home /.snapshots/home-$(date +%F)