Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A automated-email-migration
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mohammad Hanif Bin Maisin
  • automated-email-migration
  • Wiki
  • Operations

Operations · Changes

Page history
Update Operations authored Dec 09, 2025 by Mohammad Hanif Bin Maisin's avatar Mohammad Hanif Bin Maisin
Hide whitespace changes
Inline Side-by-side
Operations.md
View page @ 953d2c78
......@@ -20,6 +20,8 @@ python utils/check_scheduler_status.py
**View Master Summary Log:**
- Location: `D:\automated-email-migration\logs\daily_summary\YYYY-MM-DD_master_summary.log`
- Contains daily summary of all operations
- Format: One file per day, brief and precise summary
- Shows: Queue sync, batch creation, emails, AD groups, GCDS sync, migration execution status
**Check Database:**
```bash
......@@ -53,7 +55,9 @@ All utility scripts are located in the `utils/` folder:
- `clear_all_data.py` - Clear all migration data (use with caution)
- `reset_cursor.py` - Reset Bohrium API cursor
## Master Summary Log
## Log Locations
### Master Summary Log
The master summary log provides a daily summary of all operations:
......@@ -64,7 +68,52 @@ The master summary log provides a daily summary of all operations:
- GCDS sync status
- Migration execution summary
Location: `D:\automated-email-migration\logs\daily_summary\`
**Location:** `D:\automated-email-migration\logs\daily_summary\YYYY-MM-DD_master_summary.log`
### PST Export Logs (Hafnium Server)
Detailed logs from PowerShell PST export scripts showing user-by-user progress:
**Location:** `D:\Scripts\automation-gmail-{SERVER}\*_MailboxMigrationLog.txt`
- TEMP01: `D:\Scripts\automation-gmail-TEMP01\*_MailboxMigrationLog.txt`
- TEMP02: `D:\Scripts\automation-gmail-TEMP02\*_MailboxMigrationLog.txt`
- TEMP03: `D:\Scripts\automation-gmail-TEMP03\*_MailboxMigrationLog.txt`
**Contains:**
- PST export start/completion per user
- Errors and warnings
- Total users processed
- Successful/failed counts
**Access:** Via SSH to Hafnium server or network share `\\hafnium\Scripts\automation-gmail-{SERVER}\`
### GWME Execution Logs (Migration Servers)
GWME migration logs are stored on each migration server:
**1. Wrapper Script Logs:**
- TEMP01: `D:\GWMME\logs\execution_TEMP01_YYYYMMDD_HHMMSS.log`
- TEMP02: `C:\GWMME\logs\execution_TEMP02_YYYYMMDD_HHMMSS.log`
- TEMP03: `C:\GWMME\logs\execution_TEMP03_YYYYMMDD_HHMMSS.log`
**Contains:** Full console output from GWME execution, including start time, errors, and completion status.
**2. GWME Status Files (Real-time):**
- Location: `C:\Users\KKIPCScriptAdmin\AppData\Local\Google\Google Apps Migration\Tracing\ExchangeMigration\Status\*.txt`
- Contains: Per-user migration status files created by GWME during execution
- Format: One `.txt` file per user being migrated
**Access:** On each registered migration server (TEMP01, TEMP02, TEMP03)
### Application Console Logs
When the scheduler runs manually, logs appear in the console. When running as a Windows Task, configure file logging or check Task Scheduler output.
**Database Logs:**
- All migration steps are logged to `migration_queue.db` (SQLite)
- View via: `python -m db_utils log [limit]`
- Or query directly: `python -m run_sql "SELECT * FROM migration_logs ORDER BY timestamp DESC LIMIT 50"`
---
......
Clone repository
  • Architecture
  • Configuration
  • Deployment
  • Home
  • Operations
  • System Components
  • Troubleshooting
  • Workflow