kopia/run-backup.sh

11 lines
209 B
Bash
Raw Normal View History

2023-08-17 15:00:22 +00:00
#!/bin/sh
kopia --version
kopia repository connect filesystem \
--path /repository \
--override-hostname ${KOPIA_HOSTNAME} \
--override-username ${KOPIA_USERNAME}
kopia snapshot create /backup