Merge "refstack: fix backup script typo"

This commit is contained in:
Zuul 2021-03-16 05:43:21 +00:00 committed by Gerrit Code Review
commit e077281e4e
2 changed files with 3 additions and 1 deletions

View File

@ -5,3 +5,5 @@ letsencrypt_certs:
borg_backup_excludes_extra: borg_backup_excludes_extra:
# live db files # live db files
- /var/lib/refstack/db - /var/lib/refstack/db
# on-disk backups
- /var/backups/refstack-mariadb

View File

@ -150,5 +150,5 @@
copy: copy:
content: >- content: >-
/usr/local/bin/docker-compose -f /etc/refstack-docker/docker-compose.yaml exec -T mariadb /usr/local/bin/docker-compose -f /etc/refstack-docker/docker-compose.yaml exec -T mariadb
bash -c '/usr/bin/mysqldump --skip-extended-insert --databases gitea --single-transaction -uroot -p"$MYSQL_ROOT_PASSWORD"'T_PASSWORD"' bash -c '/usr/bin/mysqldump --skip-extended-insert --databases refstack --single-transaction -uroot -p"$MYSQL_ROOT_PASSWORD"'
dest: /etc/borg-streams/mysql dest: /etc/borg-streams/mysql