Call backup-repositories script

This commit is contained in:
Caine Jette 2020-01-21 16:55:51 -08:00
Родитель b2ed6b0f50
Коммит b5691c7ac1
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -5,3 +5,14 @@
#/ Note: This command typically isn't called directly. It's invoked by
#/ ghe-backup.
set -e
# Bring in the backup configuration
# shellcheck source=share/github-backup-utils/ghe-backup-config
. "$( dirname "${BASH_SOURCE[0]}" )/ghe-backup-config"
bm_start "$(basename $0)"
# TODO: Not sure if we need to ssh onto GHE_HOSTNAME, aren't we on the appliance already?
echo "github-env ./bin/backup-repositories" | ghe-ssh "$GHE_HOSTNAME" -- /bin/bash
bm_end "$(basename $0)"