This is an old revision of the document!
Borg Backup
create new repository for backup on empty folder
TARGET=nero mkdir -p /run/media/scipio/backup/$TARGET cd /run/media/scipio/backup/$TARGET borg --verbose init --encryption=none ./
add folder to backup
TAG=dataset cd /run/media/scipio/backup/$TARGET borg --verbose --progress create --stats --exclude "*.old" ./::$(date --iso-8601)-$TAG /storage/dataset
add another folder to same target with different tag
TAG=cloud cd /run/media/scipio/backup/$TARGET borg --verbose --progress create --stats ./::$(date --iso-8601)-$TAG /home/scipio/cloud