diff --git a/support/support-infrastructure-maintainer.md b/support/support-infrastructure-maintainer.md index 090da915..50a30534 100644 --- a/support/support-infrastructure-maintainer.md +++ b/support/support-infrastructure-maintainer.md @@ -331,7 +331,7 @@ backup_database() { fi # Encrypt backup - if ! gpg --cipher-algo AES256 --compress-algo 1 --s2k-mode 3 \ + if ! gpg --batch --cipher-algo AES256 --compress-algo 1 --s2k-mode 3 \ --s2k-digest-algo SHA512 --s2k-count 65536 --symmetric \ --passphrase-file "$ENCRYPTION_KEY" "$backup_file"; then handle_error "Database backup encryption failed for $db_name" @@ -357,7 +357,7 @@ backup_files() { # Create compressed archive and encrypt if ! tar -czf - -C "$source_dir" . | \ - gpg --cipher-algo AES256 --compress-algo 0 --s2k-mode 3 \ + gpg --batch --cipher-algo AES256 --compress-algo 0 --s2k-mode 3 \ --s2k-digest-algo SHA512 --s2k-count 65536 --symmetric \ --passphrase-file "$ENCRYPTION_KEY" \ --output "$backup_file"; then