#!/usr/bin/env bash

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