[WordPress] 外掛分享: MksDdn Migrate Content

前言介紹

  • 這款 WordPress 外掛「MksDdn Migrate Content」是 2026-01-18 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2026-02-25,不久前才剛更新。
  • 外掛最低要求 WordPress 6.2 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 8.0 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

mksddn |

外掛標籤

wpbkp | backup | export | import | migration |

內容簡介

總結:MksDdn Migrate Content 是一個乾淨的遷移套件,將您的網站打包成確定性的 .wpbkp 檔案。每個捆包包含一個清單、檢查和確認、數據庫段、媒體、選定文件和用戶決策,因此導入是可預測和可逆的。

問題與答案:
1. MksDdn Migrate Content 提供了哪些導出模式?
- 選擇完整網站(數據庫+上傳/插件/主題)或選定內容(多選文章/頁面/CPTs),可選擇是否包含引用的媒體。
2. 如何處理大型存檔傳輸以應對不穩定的網絡?
- 通過分段式流程,存檔透過 AJAX 端點流失,並帶有恢復令牌,確保多GB的傳輸在不穩定的網絡中幸存。
3. 每次導入都會有哪些存儲庫快照和回滾功能?
- 每個導入都會存儲一個快照、記錄元數據、強制執行全局作業鎖,並讓您隨時一鍵回滾。
4. 使用者合併控制的功能是什麼?
- 比較存檔和當前使用者,決定如何合併/衝突,並對每一個更改進行日誌記錄以進行審計。
5. MksDdn Migrate Content 是如何保證完整性和安全性的?
- .wpbkp存檔內含清單和檢查碼;導入會在觸及數據之前驗證功能、隨機數和磁盤空間。

原文外掛簡介

MksDdn Migrate Content is a clean-room migration suite that packages your site into deterministic .wpbkp archives. Each bundle contains a manifest, checksum, database segments, media, selected files, and user decisions, so imports stay predictable.
Why MksDdn Migrate Content?

Dual export modes – choose Full Site (database + uploads/plugins/themes) or Selected Content (multi-select posts/pages/CPTs) with or without referenced media.
Chunked pipeline – large archives stream through REST API endpoints with resume tokens, so multi‑GB transfers survive flaky networks.
User merge control – compare archive vs current users and decide how to merge conflicts.
Theme import mode – when a theme archive is detected, choose replace vs merge before applying changes.
Integrity & safety – .wpbkp archives ship with manifests and checksums; imports verify capabilities, nonces, and disk space before touching data.

Feature Highlights

Archive format with manifest, checksum, and payload folders (content.json, media/, options/, filesystem slices).
Media scanner that collects featured images, galleries, attachments referenced inside blocks or shortcodes.
File-system coverage for wp-content/uploads, wp-content/plugins, wp-content/themes with filters to skip VCS/system files.
Chunked upload/download JS client with live progress, auto-resume, and graceful fallback to direct transfer.
Server file import – select backup files directly from wp-content/uploads/mksddn-mc/imports/ directory without browser uploads.
Custom .wpbkp drag-and-drop uploader with checksum guardrails (UI polish deferred to next milestone, functionality already complete).

Architecture
The plugin follows SOLID principles and WordPress Coding Standards with a clean, modular architecture:
Service Container & Dependency Injection

Centralized ServiceContainer manages all dependencies
Service Providers (CoreServiceProvider, AdminServiceProvider, ExportServiceProvider, ImportServiceProvider, ChunkServiceProvider) register services
All dependencies resolved through container, eliminating direct instantiation
Full support for interface-based dependency injection

Request Handlers

ExportRequestHandler – handles export requests
ImportRequestHandler – delegates to specialized import services (supports unified import via UnifiedImportOrchestrator)
UserMergeRequestHandler – processes user merge operations
ThemePreviewRequestHandler – handles theme preview cancel operations
ChunkRestController – REST API controller for chunked upload/download operations
All handlers implement corresponding interfaces for testability

Service Layer

SelectedContentImportService – handles selected content imports
FullSiteImportService – manages full site imports
ThemeImportService – handles theme archive imports
UnifiedImportOrchestrator – orchestrates unified import with automatic type detection and routing
ImportTypeDetector – detects import type (full site or selected content) from archive file
ImportFileValidator – validates uploaded files
ImportPayloadPreparer – prepares import payloads
ServerBackupScanner – scans and validates backup files on the server
ResponseHandler – manages redirects and status messages
NotificationService – handles user notifications
ProgressService – tracks operation progress
ErrorHandler – centralized error handling and logging
UserDiffBuilder – builds user difference comparison
UserMergeApplier – applies user merge operations
ThemePreviewStore – stores pending theme import previews

Contracts (Interfaces)
All key components implement interfaces:
* ExporterInterface, ImporterInterface
* MediaCollectorInterface, ChunkJobRepositoryInterface
* UserPreviewStoreInterface, ThemePreviewStoreInterface, UserDiffBuilderInterface, UserMergeApplierInterface
* NotificationServiceInterface, ProgressServiceInterface
* ArchiveHandlerInterface, ValidatorInterface
* Request handler interfaces for all handlers
Error Handling

Specialized exceptions: ValidationException, FileOperationException, DatabaseOperationException, ImportException, ExportException
Centralized ErrorHandler for consistent error processing
Proper logging and user-friendly error messages
Validation classes: ArchiveValidator, ImportDataValidator, ExportDataValidator, FileValidator

Performance

BatchLoader for optimized database queries (prevents N+1 problems)
Efficient media collection with batch processing (AttachmentCollector)
Chunked transfer for large files via REST API (ChunkRestController)
Memory-efficient streaming for large archives
FullArchivePayload for efficient archive payload handling
ContentCollector for filesystem content collection

Security

All admin operations check current_user_can('manage_options')
Nonce verification for all forms and AJAX requests
REST API endpoints protected with permission callbacks
Input sanitization using WordPress sanitization functions
Output escaping with esc_html(), esc_attr(), esc_url()
File upload validation with MIME type checking
Path traversal protection for server file access (ServerBackupScanner)
Path traversal protection for archive extraction (full site + theme import)
SiteUrlGuard prevents accidental site URL changes during import
ImportLock prevents concurrent import operations
DomainReplacer safely handles URL replacement during migrations

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「MksDdn Migrate Content」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.3.1 | 1.3.2 | 1.4.0 | 2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | 2.1.0 | 2.1.1 | 2.1.2 | trunk |

延伸相關外掛(你可能也想知道)

  • UpdraftPlus: WP Backup & Migration Plugin 》UpdraftPlus 簡化了備份和還原。它是世界上排名最高、最受歡迎的定期備份外掛程式,目前已有超過三百萬個正在使用。您可以在雲端備份文件和資料庫備份,並且...。
  • Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More 》, 擁有超過 3000 萬次下載,Duplicator 成功地為 WordPress 使用者提供了從一個位置移動、複製、移動或克隆網站的能力,同時也作為一個簡單的備份實用工具。D...。
  • Migrate Guru – Site Migration & Cloning 》Migrate Guru 是最快速移轉 WordPress 網站的方法。它簡化了艱難的 WordPress 移轉(例如多站點網絡、200 GB 站點等)。, 由 BlogVault(世界頂級 WordPress ...。
  • WP STAGING WordPress Backup Plugin – Migration Backup Restore 》WordPress網站的暫存、備份、複製與遷移, WP STAGING是一個專業的全功能複製、暫存和備份外掛,可以在幾秒鐘內製作出網站的完全副本和備份,非常適合暫存、備...。
  • Backup Migration 》在您的免費測試網站上試用:https://tastewp.com/plugins/backup-backup。, (這個技巧適用於 WP 儲存庫中的所有外掛,只需在 URL 中將「WordPress」替換為「...。
  • BlogVault Backup & Staging 》BlogVault 是一款最可靠的 WordPress 增量備份外掛程式,並且帶有免費的雲端儲存空間。最好的部分是,它還附帶了一個免費的應用環境。, BlogVault 定期對 Wor...。
  • SiteGround Migrator 》SiteGround Migrator:將您的網站移動到 SiteGround 的最簡單方法, 此外掛旨在自動轉移 WordPress 實例到 SiteGround 託管帳戶。它無法用於將 WordPress 實例...。
  • WP Engine Automated Migration 》WP Engine Automated Migrations 讓您可以輕鬆地將您的 WordPress 網站遷移到 WP Engine 平台上。您只需提供 WP Engine SFTP 憑證,就讓這個外掛程式做所有的...。
  • Backup and Staging by WP Time Capsule 》個網站。WP Time Capsule 是為了確保 WordPress 更新不出問題而打造的。它使用雲端應用程式的原生檔案版本控管系統檢測更改的部分,只將更改的檔案和資料庫項...。
  • Search & Replace Everything – Quick and Easy Way to Find and Replace Text, Links 》注意事項, , 此外掛是 Velvet Blues Update URLS 的分支,因為 Velvet Blues Update URLS 已沒有在維護且未經過最新版 WordPress 的測試,我們決定進行維護及...。
  • DreamHost Automated Migration 》DreamHost 自動遷移外掛程式讓將網站遷移到 DreamHost 平臺變得輕鬆。無論您是有豐富的網站遷移經驗的開發人員,或從未遷移過網站的新手,這個外掛程式可以代...。
  • Cloudways WordPress Migrator 》Cloudways WordPress Migrator(Cloudways WordPress 遷移工具外掛)自動化將 WordPress 從任何其他託管商遷移到 Cloudways,全球最易使用的雲端託管平台。您...。
  • FG Joomla to WordPress 》這個外掛可將 Joomla 的分區、分類、文章、圖片、媒體和標籤轉移至 WordPress。它已經測試過 Joomla 1.5 到 4.0 版本和 WordPress 6.1 的大型資料庫,並且與...。
  • FastDup – Fastest WordPress Migration & Duplicator 》快速備份和遷移 WordPress 網站的最佳選擇 - FastDup, 作為先進的遷移外掛,FastDup 最小化了所有複製 WordPress 網站所需的步驟。您只需要點擊幾下即可複製 ...。
  • Bluehost Site Migrator 》這款外掛是由全球頂尖的 WordPress 提供商之一、Bluehost 的 WordPress 專家所設計。它旨在通過只需要安裝此外掛並按照簡單的步驟操作來使網站遷移變得更加容...。

文章
Filter
Apply Filters
Mastodon