My backup scripts and tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
307 B

  1. #!/bin/bash
  2. set -e
  3. . "$(dirname "$0")"/vars.sh
  4. export BORG_PASSCOMMAND="cat ${BORG_DIR}/passphrase"
  5. export BORG_BASE_DIR=${BORG_DIR}
  6. export BORG_CACHE_DIR=${BORG_DIR}/cache
  7. export BORG_CONFIG_DIR=${BORG_DIR}/config
  8. export BORG_RSH="ssh -F $SSH/config -i $SSH/id_ecdsa_appendonly"
  9. exec "${BORG_BIN}" "$@"