Skip to content

Console Output

02:46:17 [2025-11-29T02:46:17.903Z] + export POSTGRES_DB=****
02:46:17 [2025-11-29T02:46:17.903Z] + export POSTGRES_USER=****
02:46:17 [2025-11-29T02:46:17.903Z] + export PGPASSWORD=****
02:46:17 [2025-11-29T02:46:17.903Z] + echo 🐳 Container status:
02:46:17 [2025-11-29T02:46:17.903Z] 🐳 Container status:
02:46:17 [2025-11-29T02:46:17.903Z] + docker ps
02:46:17 [2025-11-29T02:46:17.904Z] + grep ****
02:46:17 [2025-11-29T02:46:17.904Z] 3a8be82b778a   ****:18-alpine                     "docker-entrypoint.s…"   17 seconds ago   Up 8 seconds              5432/tcp                                                                                   datashield-backup
02:46:17 [2025-11-29T02:46:17.905Z] d803faf3f35b   ****:18-alpine                     "docker-entrypoint.s…"   22 seconds ago   Up 21 seconds (healthy)   0.0.0.0:5432->5432/tcp, [::]:5432->5432/tcp                                                ****-****
02:46:17 [2025-11-29T02:46:17.905Z] + echo šŸ”— Testing database connection...
02:46:17 [2025-11-29T02:46:17.905Z] šŸ”— Testing database connection...
02:46:17 [2025-11-29T02:46:17.905Z] + docker exec -e PGPASSWORD=**** ****-**** psql -h localhost -U **** -d **** -c SELECT 1 as connection_test;
02:46:18 [2025-11-29T02:46:18.156Z]  connection_test 
02:46:18 [2025-11-29T02:46:18.156Z] -----------------
02:46:18 [2025-11-29T02:46:18.156Z]                1
02:46:18 [2025-11-29T02:46:18.156Z] (1 row)
02:46:18 [2025-11-29T02:46:18.156Z] 
02:46:18 [2025-11-29T02:46:18.156Z] + echo šŸ“Š Database statistics:
02:46:18 [2025-11-29T02:46:18.156Z] šŸ“Š Database statistics:
02:46:18 [2025-11-29T02:46:18.156Z] + docker exec -e PGPASSWORD=**** ****-**** psql -h localhost -U **** -d **** -c 
02:46:18 [2025-11-29T02:46:18.156Z]                                 SELECT
02:46:18 [2025-11-29T02:46:18.156Z]                                     'total schemas' as check,
02:46:18 [2025-11-29T02:46:18.156Z]                                     COUNT(*)::text as result
02:46:18 [2025-11-29T02:46:18.156Z]                                 FROM information_schema.schemata
02:46:18 [2025-11-29T02:46:18.157Z]                                 WHERE schema_name NOT IN ('information_schema', 'pg_catalog');
02:46:18 [2025-11-29T02:46:18.157Z]                             
02:46:18 [2025-11-29T02:46:18.408Z]      check     | result 
02:46:18 [2025-11-29T02:46:18.408Z] ---------------+--------
02:46:18 [2025-11-29T02:46:18.408Z]  total schemas | 2
02:46:18 [2025-11-29T02:46:18.408Z] (1 row)
02:46:18 [2025-11-29T02:46:18.408Z] 
02:46:18 [2025-11-29T02:46:18.408Z] + echo šŸ’¾ Testing backup system...
02:46:18 [2025-11-29T02:46:18.408Z] šŸ’¾ Testing backup system...
02:46:18 [2025-11-29T02:46:18.408Z] + docker exec ****-backup /scripts/backup_check.sh
02:46:18 [2025-11-29T02:46:18.659Z] Error response from daemon: No such container: ****-backup
02:46:18 [2025-11-29T02:46:18.659Z] + echo āš ļø  Backup check not available (container might be starting)
02:46:18 [2025-11-29T02:46:18.659Z] āš ļø  Backup check not available (container might be starting)