10 lines
193 B
Bash
Executable file
10 lines
193 B
Bash
Executable file
#! /usr/bin/bash
|
|
|
|
set -euo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
run0 mkdir --parents "${BORG_REPO}"
|
|
run0 chown "${USER}":"${USER}" "${BORG_REPO}"
|
|
run0 chmod 700 "${BORG_REPO}"
|
|
|
|
borg init --encryption=repokey
|