4 lines
138 B
Bash
Executable File
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)
|