7 lines
160 B
Bash
Executable file
7 lines
160 B
Bash
Executable file
#! /usr/bin/sh
|
|
|
|
sudo mkdir --parents "${BORG_REPO}"
|
|
sudo chown "${USER}":"${USER}" "${BORG_REPO}"
|
|
sudo chmod 700 "${BORG_REPO}"
|
|
|
|
borg init --encryption=repokey
|