Skip to content

Console Output

02:46:02 [2025-11-25T02:46:02.832Z] + export POSTGRES_DB=****
02:46:02 [2025-11-25T02:46:02.832Z] + export POSTGRES_USER=****
02:46:02 [2025-11-25T02:46:02.832Z] + export PGPASSWORD=****
02:46:02 [2025-11-25T02:46:02.832Z] + echo 🐳 Container status:
02:46:02 [2025-11-25T02:46:02.832Z] 🐳 Container status:
02:46:02 [2025-11-25T02:46:02.832Z] + docker ps
02:46:02 [2025-11-25T02:46:02.832Z] + grep ****
02:46:02 [2025-11-25T02:46:02.833Z] c44f7581bd3f   ****:18-alpine                     "docker-entrypoint.s…"   7 seconds ago    Up 4 seconds              5432/tcp                                                                                   datashield-backup
02:46:02 [2025-11-25T02:46:02.835Z] 56714784482e   ****:18-alpine                     "docker-entrypoint.s…"   13 seconds ago   Up 10 seconds (healthy)   0.0.0.0:5432->5432/tcp, [::]:5432->5432/tcp                                                ****-****
02:46:02 [2025-11-25T02:46:02.836Z] + echo šŸ”— Testing database connection...
02:46:02 [2025-11-25T02:46:02.836Z] šŸ”— Testing database connection...
02:46:02 [2025-11-25T02:46:02.836Z] + docker exec -e PGPASSWORD=**** ****-**** psql -h localhost -U **** -d **** -c SELECT 1 as connection_test;
02:46:03 [2025-11-25T02:46:03.389Z]  connection_test 
02:46:03 [2025-11-25T02:46:03.389Z] -----------------
02:46:03 [2025-11-25T02:46:03.389Z]                1
02:46:03 [2025-11-25T02:46:03.389Z] (1 row)
02:46:03 [2025-11-25T02:46:03.389Z] 
02:46:03 [2025-11-25T02:46:03.390Z] + echo šŸ“Š Database statistics:
02:46:03 [2025-11-25T02:46:03.390Z] šŸ“Š Database statistics:
02:46:03 [2025-11-25T02:46:03.390Z] + docker exec -e PGPASSWORD=**** ****-**** psql -h localhost -U **** -d **** -c 
02:46:03 [2025-11-25T02:46:03.390Z]                                 SELECT
02:46:03 [2025-11-25T02:46:03.390Z]                                     'total schemas' as check,
02:46:03 [2025-11-25T02:46:03.390Z]                                     COUNT(*)::text as result
02:46:03 [2025-11-25T02:46:03.390Z]                                 FROM information_schema.schemata
02:46:03 [2025-11-25T02:46:03.390Z]                                 WHERE schema_name NOT IN ('information_schema', 'pg_catalog');
02:46:03 [2025-11-25T02:46:03.390Z]                             
02:46:03 [2025-11-25T02:46:03.642Z]      check     | result 
02:46:03 [2025-11-25T02:46:03.643Z] ---------------+--------
02:46:03 [2025-11-25T02:46:03.643Z]  total schemas | 2
02:46:03 [2025-11-25T02:46:03.643Z] (1 row)
02:46:03 [2025-11-25T02:46:03.643Z] 
02:46:03 [2025-11-25T02:46:03.643Z] + echo šŸ’¾ Testing backup system...
02:46:03 [2025-11-25T02:46:03.643Z] šŸ’¾ Testing backup system...
02:46:03 [2025-11-25T02:46:03.643Z] + docker exec ****-backup /scripts/backup_check.sh
02:46:03 [2025-11-25T02:46:03.643Z] Error response from daemon: No such container: ****-backup
02:46:03 [2025-11-25T02:46:03.643Z] + echo āš ļø  Backup check not available (container might be starting)
02:46:03 [2025-11-25T02:46:03.644Z] āš ļø  Backup check not available (container might be starting)