Files
website-typo3/.ddev/providers/rsync.yaml
T
2021-11-05 13:04:08 +01:00

15 lines
451 B
YAML
Executable File

environment_variables:
dburl: [email protected]:files/backup/typo3-prod.dump.sql.gz
auth_command:
command: |
set -eu -o pipefail
ssh-add -l >/dev/null || ( echo "Please 'ddev auth ssh' before running this command." && exit 1 )
db_pull_command:
command: |
# set -x # You can enable bash debugging output by uncommenting
set -eu -o pipefail
rsync -az "${dburl}" /var/www/html/.ddev/.downloads/db.sql.gz
service: web