dotfiles/home/bin/executable_linux-backup-kestrel
2023-03-26 17:43:00 -07:00

11 lines
241 B
Bash

#!/bin/bash
#
echo "Creating backup with borg..."
datetime=$(date +"%Y%m%d%H%M%S")
borg create \
--progress \
--exclude "$HOME/.?*" \
--exclude "$HOME/mnt" \
"$HOME/mnt/engi/backup/borg-kestrel::kestrel-${datetime}" "$HOME"