Skip to content

Console Output

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