Skip to content

Console Output

02:46:07 [2025-11-26T02:46:07.979Z] + export POSTGRES_DB=****
02:46:07 [2025-11-26T02:46:07.979Z] + export POSTGRES_USER=****
02:46:07 [2025-11-26T02:46:07.979Z] + export PGPASSWORD=****
02:46:07 [2025-11-26T02:46:07.979Z] + echo 🐳 Container status:
02:46:07 [2025-11-26T02:46:07.979Z] 🐳 Container status:
02:46:07 [2025-11-26T02:46:07.979Z] + docker ps
02:46:07 [2025-11-26T02:46:07.979Z] + grep ****
02:46:07 [2025-11-26T02:46:07.980Z] 0ce88a4bd26a   ****:18-alpine                     "docker-entrypoint.s…"   6 seconds ago    Up 3 seconds             5432/tcp                                                                                   datashield-backup
02:46:07 [2025-11-26T02:46:07.980Z] 902aa27cf1c7   ****:18-alpine                     "docker-entrypoint.s…"   16 seconds ago   Up 9 seconds (healthy)   0.0.0.0:5432->5432/tcp, [::]:5432->5432/tcp                                                ****-****
02:46:07 [2025-11-26T02:46:07.980Z] + echo šŸ”— Testing database connection...
02:46:07 [2025-11-26T02:46:07.980Z] šŸ”— Testing database connection...
02:46:07 [2025-11-26T02:46:07.980Z] + docker exec -e PGPASSWORD=**** ****-**** psql -h localhost -U **** -d **** -c SELECT 1 as connection_test;
02:46:08 [2025-11-26T02:46:08.231Z]  connection_test 
02:46:08 [2025-11-26T02:46:08.231Z] -----------------
02:46:08 [2025-11-26T02:46:08.231Z]                1
02:46:08 [2025-11-26T02:46:08.231Z] (1 row)
02:46:08 [2025-11-26T02:46:08.231Z] 
02:46:08 [2025-11-26T02:46:08.231Z] + echo šŸ“Š Database statistics:
02:46:08 [2025-11-26T02:46:08.231Z] šŸ“Š Database statistics:
02:46:08 [2025-11-26T02:46:08.232Z] + docker exec -e PGPASSWORD=**** ****-**** psql -h localhost -U **** -d **** -c 
02:46:08 [2025-11-26T02:46:08.232Z]                                 SELECT
02:46:08 [2025-11-26T02:46:08.232Z]                                     'total schemas' as check,
02:46:08 [2025-11-26T02:46:08.232Z]                                     COUNT(*)::text as result
02:46:08 [2025-11-26T02:46:08.232Z]                                 FROM information_schema.schemata
02:46:08 [2025-11-26T02:46:08.232Z]                                 WHERE schema_name NOT IN ('information_schema', 'pg_catalog');
02:46:08 [2025-11-26T02:46:08.232Z]                             
02:46:08 [2025-11-26T02:46:08.483Z]      check     | result 
02:46:08 [2025-11-26T02:46:08.483Z] ---------------+--------
02:46:08 [2025-11-26T02:46:08.483Z]  total schemas | 2
02:46:08 [2025-11-26T02:46:08.483Z] (1 row)
02:46:08 [2025-11-26T02:46:08.483Z] 
02:46:08 [2025-11-26T02:46:08.483Z] + echo šŸ’¾ Testing backup system...
02:46:08 [2025-11-26T02:46:08.483Z] šŸ’¾ Testing backup system...
02:46:08 [2025-11-26T02:46:08.483Z] + docker exec ****-backup /scripts/backup_check.sh
02:46:08 [2025-11-26T02:46:08.483Z] Error response from daemon: No such container: ****-backup
02:46:08 [2025-11-26T02:46:08.483Z] + echo āš ļø  Backup check not available (container might be starting)
02:46:08 [2025-11-26T02:46:08.483Z] āš ļø  Backup check not available (container might be starting)