# Command: `external-backlinks:sync`

**Description**: Import external backlinks from domains database, update their status, and send expiration alerts
**Status**: completed
**Started**: 2026-08-14 19:42:53 | **Ended**: 2026-08-14 19:42:53 | **Duration**: 0s
**Jobs**: 0 dispatched / 0 completed / 0 failed

---

## Command Output

19:42:53 [INFO] Lock acquired for command: external-backlinks:sync

19:42:53 [INFO] 🔄 Starting external backlinks sync...

19:42:53 [WARNING] 🔍 DRY RUN MODE - No data will be imported or updated

19:42:53 [INFO] 📥 Starting import from domains database...

19:42:53 [INFO] 🔌 Testing connection to domains database...

19:42:53 [INFO] ✅ Connection to domains database successful

19:42:53 [INFO] 🔍 Building website mapping by hostname...

19:42:53 [INFO] 📊 Found 2494 websites for matching

19:42:53 [INFO] 📥 Fetching external backlinks from domains database with website hostnames...

19:42:53 [INFO] 📋 Found 100 external backlinks to import

19:42:53 [INFO] 📊 Import Results:

19:42:53 [WARNING] ⚠️  5 backlinks couldn't be matched to websites by hostname.

19:42:53 [INFO] 🔄 Updating external backlinks status...

19:42:53 [INFO] Found 106 external backlinks to process.

19:42:53 [INFO] ✅ Status update completed!

19:42:53 [INFO] 🔔 Checking for expiration alerts...

19:42:53 [INFO] 📊 Found 1 backlinks about to expire and 0 past expiry

19:42:53 [INFO] ⚠️  Alert sent for backlink about to expire: https://expiring.com/page

19:42:53 [INFO] ✅ Sent 1 expiration alerts

19:42:53 [WARNING] 🔍 DRY RUN - No actual alerts were sent

19:42:53 [INFO] 📊 Final status distribution:

19:42:53 [INFO] Lock released for external-backlinks:sync

---

## Jobs (0)

*No jobs dispatched*

*Exported at 2026-08-14T22:57:26+00:00*
