Skip to content

Console Output

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