Skip to content

Console Output

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