Console Output
02:46:11 [2025-11-22T02:46:11.599Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
02:46:11 [2025-11-22T02:46:11.599Z] Affected argument(s) used the following variable(s): [POSTGRES_DB]
02:46:11 [2025-11-22T02:46:11.599Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
02:46:11 [2025-11-22T02:46:11.862Z] + export POSTGRES_DB=****
02:46:11 [2025-11-22T02:46:11.862Z] + export POSTGRES_USER=****
02:46:11 [2025-11-22T02:46:11.862Z] + export PGPASSWORD=****
02:46:11 [2025-11-22T02:46:11.862Z] + mkdir -p jenkins_backups
02:46:11 [2025-11-22T02:46:11.862Z] + docker exec -e PGPASSWORD=**** ****-**** pg_dump -h localhost -U **** -d **** --format=custom --compress=9 --file=/tmp/jenkins_backup_20251122_024611.sql
02:46:13 [2025-11-22T02:46:13.207Z] + docker cp ****-****:/tmp/jenkins_backup_20251122_024611.sql jenkins_backups/
02:46:13 [2025-11-22T02:46:13.207Z] + cd jenkins_backups
02:46:13 [2025-11-22T02:46:13.208Z] + sha256sum jenkins_backup_20251122_024611.sql
02:46:13 [2025-11-22T02:46:13.208Z] + echo ✅ Backup created: jenkins_backup_20251122_024611.sql
02:46:13 [2025-11-22T02:46:13.208Z] ✅ Backup created: jenkins_backup_20251122_024611.sql
02:46:13 [2025-11-22T02:46:13.208Z] + ls -lh jenkins_backup_20251122_024611.sql
02:46:13 [2025-11-22T02:46:13.208Z] -rw-r--r-- 1 root root 6.9K Nov 22 02:46 jenkins_backup_20251122_024611.sql