Skip to content

Console Output

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