pinentry-mode
Some checks failed
odoo-restore-open_workshop-install / run-odoo-backup-in-docker (push) Failing after 29s
Some checks failed
odoo-restore-open_workshop-install / run-odoo-backup-in-docker (push) Failing after 29s
This commit is contained in:
parent
cab16d3b92
commit
f2809c7780
|
|
@ -30,10 +30,12 @@ EOF
|
|||
if [ $? -ne 0 ]; then
|
||||
report_failure "SFTP transfer"
|
||||
fi
|
||||
|
||||
cd /root
|
||||
# Backup entschlüsseln
|
||||
gpg --batch --yes --passphrase "${gpg_password}" -o ${BACKUP_NAME} -d ${BACKUP_NAME}.gpg || report_failure "Backup decryption"
|
||||
|
||||
gpg --batch --yes --passphrase "${gpg_password}" --pinentry-mode loopback \
|
||||
-o "${BACKUP_DIR}/${BACKUP_NAME}" \
|
||||
-d "${BACKUP_DIR}/${BACKUP_NAME}.gpg" || report_failure "Backup decryption"
|
||||
|
||||
curl -X POST -s \
|
||||
-F "master_pwd=${ADMIN_PASSWORD}" \
|
||||
-F "name=${ODOO_DATABASE}" \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user