.dotfiles/global/scripts/bin/sbackup
2024-09-22 20:55:44 +02:00

10 lines
174 B
Bash
Executable file

#!/usr/bin/env sh
# User variables
dirs="Backup/Sensitive"
# Run backup
tarsnap -c \
-f "sensetive-$(uname -n)-$(date +%Y-%m-%d_%H-%M-%S)" -C $HOME \
${dirs} 2>&1