kopia/run-backup.sh

11 lines
209 B
Bash
Executable File

#!/bin/sh
kopia --version
kopia repository connect filesystem \
--path /repository \
--override-hostname ${KOPIA_HOSTNAME} \
--override-username ${KOPIA_USERNAME}
kopia snapshot create /backup