borg backup home

mkdir /backups/home
borg init –encryption=none /backups/home

Easy script for /home:

#!/usr/bin/env bash

borg create -v --stats \
/backups/home::'{now:%Y-%m-%d_%H:%M}' \
/home

borg prune -v --list --keep-daily=7 /backups/home
borg compact /backups/home

Leave a Reply

Your email address will not be published. Required fields are marked *