Skip to content

Console Output

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