Skip to content

Console Output

02:45:56 [2025-11-21T02:45:56.389Z] + export POSTGRES_DB=****
02:45:56 [2025-11-21T02:45:56.389Z] + export POSTGRES_USER=****
02:45:56 [2025-11-21T02:45:56.389Z] + export PGPASSWORD=****
02:45:56 [2025-11-21T02:45:56.389Z] + echo 🐳 Container status:
02:45:56 [2025-11-21T02:45:56.389Z] 🐳 Container status:
02:45:56 [2025-11-21T02:45:56.390Z] + docker ps
02:45:56 [2025-11-21T02:45:56.390Z] + grep ****
02:45:56 [2025-11-21T02:45:56.390Z] 2d01d3e0a623   ****:18-alpine                     "docker-entrypoint.s…"   9 seconds ago    Up 4 seconds              5432/tcp                                                                                   datashield-backup
02:45:56 [2025-11-21T02:45:56.391Z] 13f884756283   ****:18-alpine                     "docker-entrypoint.s…"   14 seconds ago   Up 11 seconds (healthy)   0.0.0.0:5432->5432/tcp, [::]:5432->5432/tcp                                                ****-****
02:45:56 [2025-11-21T02:45:56.391Z] + echo šŸ”— Testing database connection...
02:45:56 [2025-11-21T02:45:56.391Z] šŸ”— Testing database connection...
02:45:56 [2025-11-21T02:45:56.391Z] + docker exec -e PGPASSWORD=**** ****-**** psql -h localhost -U **** -d **** -c SELECT 1 as connection_test;
02:45:56 [2025-11-21T02:45:56.944Z]  connection_test 
02:45:56 [2025-11-21T02:45:56.944Z] -----------------
02:45:56 [2025-11-21T02:45:56.944Z]                1
02:45:56 [2025-11-21T02:45:56.944Z] (1 row)
02:45:56 [2025-11-21T02:45:56.944Z] 
02:45:56 [2025-11-21T02:45:56.944Z] + echo šŸ“Š Database statistics:
02:45:56 [2025-11-21T02:45:56.944Z] šŸ“Š Database statistics:
02:45:56 [2025-11-21T02:45:56.944Z] + docker exec -e PGPASSWORD=**** ****-**** psql -h localhost -U **** -d **** -c 
02:45:56 [2025-11-21T02:45:56.944Z]                                 SELECT
02:45:56 [2025-11-21T02:45:56.944Z]                                     'total schemas' as check,
02:45:56 [2025-11-21T02:45:56.945Z]                                     COUNT(*)::text as result
02:45:56 [2025-11-21T02:45:56.945Z]                                 FROM information_schema.schemata
02:45:56 [2025-11-21T02:45:56.945Z]                                 WHERE schema_name NOT IN ('information_schema', 'pg_catalog');
02:45:56 [2025-11-21T02:45:56.945Z]                             
02:45:57 [2025-11-21T02:45:57.199Z]      check     | result 
02:45:57 [2025-11-21T02:45:57.199Z] ---------------+--------
02:45:57 [2025-11-21T02:45:57.199Z]  total schemas | 2
02:45:57 [2025-11-21T02:45:57.199Z] (1 row)
02:45:57 [2025-11-21T02:45:57.199Z] 
02:45:57 [2025-11-21T02:45:57.199Z] + echo šŸ’¾ Testing backup system...
02:45:57 [2025-11-21T02:45:57.199Z] šŸ’¾ Testing backup system...
02:45:57 [2025-11-21T02:45:57.199Z] + docker exec ****-backup /scripts/backup_check.sh
02:45:57 [2025-11-21T02:45:57.451Z] Error response from daemon: No such container: ****-backup
02:45:57 [2025-11-21T02:45:57.451Z] + echo āš ļø  Backup check not available (container might be starting)
02:45:57 [2025-11-21T02:45:57.451Z] āš ļø  Backup check not available (container might be starting)