5.51M

Server Migration Report - paykar.pro

1.

INFRASTRUCTURE DOCUMENTATION
Server Migration
Report
paykar.pro Infrastructure Documentation
Hostname
OS
Containers
paykar
Ubuntu 22.04 LTS
105

2.

OVERVIEW
Contents
01
02
03
System Overview
Hardware & Storage
Network Configuration
OS, kernel, hostname, system services, cron jobs
CPU, RAM, RAID configuration, disk usage
IP addresses, gateway, DNS, Docker networks
04
05
06
Security & Firewall
Docker Infrastructure
Data Volumes
UFW rules, open ports, Docker-internal services
Engine version, containers, images, volumes
Critical volumes for migration: databases, caches,
storage
07
08
09
Running Projects
Resource Usage
Migration Checklist
Paykar.pro, Stockflow.space, Dentaflow.pro
CPU, RAM consumption, top processes
Step-by-step migration plan and requirements
services

3.

01 / SYSTEM OVERVIEW
Operating System & Core Services
Operating System Details
Operating System
System Services (systemd)
Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Kernel Version
5.15.0-173-generic (x86_64)
Hostname
Automated Backup Schedule
0 3 * * * /home/backups/full-backup.sh >>
/home/backups/backup.log 2>&1
paykar
docker
active
ssh
active
cron
active
systemd-resolved
active
systemd-networkd
active
rsyslog
active
snapd
active
Full system backup runs daily at 03:00 using custom backup script

4.

02 / HARDWARE & STORAGE
Hardware Configuration
CPU
RAM
Processor Specifications
Memory Configuration
Model
Intel Xeon E3-1230 v6
64 GB
Total Memory
15.6%
Clock Speed
@ 3.50GHz
Cores
4
Threads
8
Used
Free
~10 GB
~50 GB
Memory Utilization
Used: 15.6%
Swap
Virtual Memory
8 GB
Total Swap Space
Available: 84.4%

5.

02 / HARDWARE & STORAGE
Storage Architecture
RAID Configuration
Disk Usage
RAID Level
RAID-0 (Striping)
Physical Disks
2 × 7.3 TB SATA
4%
Total Capacity
14.6 TB
Utilized
Device Mapping
sda + sdb → md0
Mount Point
/
Filesystem
RAID0 via mdadm
RAID-0 Warning
Used Space
Available Space
14 TB
Total Capacity
14.6 TB
RAID-0 provides maximum performance but no redundancy. Data
loss occurs if any single drive fails. Ensure regular backups are in
place.
455 GB
Excellent capacity headroom for growth

6.

03 / NETWORK CONFIGURATION
Network Setup
Network Parameters
External IP
Gateway
Interface
DNS Resolver
Docker Networks
217.11.188.51/29
217.11.188.49
eno1
systemd-resolved (127.0.0.53)
2
32
34
External
Internal Bridge
Total
traefik-net
Reverse proxy network for all services
supabase_default
Network Summary
Subnet /29 provides 6 usable IP addresses
Primary interface eno1 handles all traffic
external
external
Supabase services communication
32 Bridge Networks
One per project (panel, charge, loyalty, etc.)
Local DNS caching via systemd-resolved
Standard networks: bridge, host, none
internal

7.

04 / SECURITY & FIREWALL
Firewall & Port Configuration
UFW Firewall — ALLOW Rules
22
80
443
1883
/12
TCP
SSH Remote Access
TCP
Docker-Internal Ports
5432
6543
HTTP → Traefik
TCP
8000
HTTPS → Traefik
TCP
8443
MQTT (meteranalytics)
ALL
8080
PostgreSQL
Supabase Database
Supabase Pooler
Connection Pooling
AiDocx Backend
Primary API
AiDocx Backend
Secondary API
Traefik Dashboard
Management UI
0.0.0.0
0.0.0.0
0.0.0.0
0.0.0.0
0.0.0.0
172.16.0.0/12 Docker Bridge
6379
Redis
Caching Service
Redis restricted to localhost only
127.0.0.1

8.

05 / DOCKER INFRASTRUCTURE
Docker Environment
Docker Versions
Docker Images
Docker Engine
29.3.1
Docker Compose
v5.1.1
97
319.9 GB
308 GB
Total Images
Total Size
Reclaimable
Used: 11.9 GB
Reclaimable: 96.3%
Containers
105
Storage Breakdown
Volumes
Total Containers
Persistent Data
103
2
Running
Stopped
Build Cache
Temporary Files
Consider running docker system prune to free space
38
291.3 GB

9.

06 / DATA VOLUMES
Critical Data for Migration
Supabase
Databases
supabase_db-config
service_postgres_data
supabase_deno-cache
loyalty_mssql_data
loyalty_mssql_backup
aidocx_postgres_data
Redis Caches
File Storage
(26 instances)
redis_redis_data
analytics_redis_data
cashiers_redis_data
charge_redis_data
finance_redis_data
hr_redis_data
job_redis_data
kpi_redis_data
loyalty_redis_data
parking_redis_data
aidocx_redis_data
+ 14 more...
aidocx_minio_data
service_uploads_data
startpoint_startpoint-uploads
residentialcomplex_bot_bot_data

10.

07 / RUNNING PROJECTS
Active Services & Projects
Paykar.pro
panel
charge
loyalty
analytics
finance
hr
job
kpi
parking
distribution
cashiers
meteranalytics
mailserver
service
Infrastructure Services
Traefik (reverse-proxy)
Supabase (auth, db, storage)
Redis (caching)
AiDocx

11.

08 / RESOURCE USAGE
Resource Consumption Analysis
CPU Usage (Docker Total)
Top RAM Consumers
~50%
loyalty-mssql
1.36 GB
supabase-db
533 MB
supabase-kong
481 MB
supabase-analytics
497 MB
Total CPU Utilization
panel-backend
17%
parking-camera-monitor
2.5%
loyalty-mssql
0.7%
RAM Usage (Docker Total)
~10 GB
Resource Status: Healthy
of 64 GB Total Memory
Significant headroom available for scaling and growth
15.6%
Docker: ~10 GB
Available: ~54 GB

12.

09 / MIGRATION CHECKLIST
Server Migration Plan
1
4
7
System Setup
2
Network Config
3
Storage
Install Ubuntu 22.04 LTS
Configure IP & Gateway
Create RAID: min 1 TB
Docker Engine 29+
Setup DNS
Current: 455 GB used
Docker Compose v5+
UFW: ports 22, 80, 443, 1883
Growth headroom included
Hardware Requirements
5
Transfer /home/
6
Migrate Docker
RAM: 32 GB+ (current: ~10 GB)
All project files
docker save/load images
CPU: 4 cores / 8 threads
Docker Compose files
Or: rebuild images
Backup scripts
Backup & restore volumes
Configuration
8
DNS Update
9
SSL Certificates
/home/.env files
Update A-records
Let's Encrypt
docker-compose.yml
All domains → new IP
Auto-generated by Traefik

13.

Ready for Migration
All systems documented. Infrastructure prepared for seamless transition.
105
29
38
9
Containers
Projects
Volumes
Steps
paykar.pro Infrastructure Documentation
Ubuntu 22.04 LTS • Docker 29.3.1
English     Русский Rules