16 lines
534 B
Bash
16 lines
534 B
Bash
#! /bin/bash
|
|
|
|
# Rename this file to .borg-env and place it in your home directory
|
|
|
|
# Set ssh key
|
|
export BORG_RSH="ssh -i $HOME/.ssh/id_ed25519"
|
|
|
|
# Setting this, so the repo does not need to be given on the commandline:
|
|
export BORG_REPO="ssh://borguser@borgserver.com:22/~/backups/$USER/$HOST"
|
|
|
|
# See the section "Passphrase notes" for more infos.
|
|
export BORG_PASSPHRASE='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
|
|
|
|
# This array must containing everything you want to include in the backup
|
|
export BORG_TARGETS=("$HOME")
|