去除限制和多站點使用 All-in-One WP Migration 整站遷移備份工具外掛

正在檢視 7 個帖子:1-7 (共 7 個帖子)
  • 作者
    帖子
  • 詩語
    管理員
    • 文章數量: 5,942
    發帖數:9997
    樓主
    @feibisi

    網上找了一圈沒有合適的備份匯入和替代軟體,透過 All-in-One WP Migration 匯出的 .wpress 檔案還是需要使用 All-in-One WP Migration 才能匯入到新的站點中,為了方便我們搭建演示站,所以現在就重新調整下策略。

    All-in-One WP Migration 初學者指南

    1 、先使用 All-in-One WP Migration 普通版本,匯入到全新的 wp 中,之後再開啟多站點,等待內容匯入完成;

    2 、開啟多站點,安裝整站克隆工具;

    3 、透過外掛進行整站的克隆複製工作,直接全站克隆;

    4 、清空重置原站點,等待下次使用。


    2018 年 11 月 01 日 更新 —— All-in-One WP Migration 現已開啟強制商業化,詳情請閱讀:

    All-in-One WP Migration 開始強制商業化,現在恢復資料需要購買高階擴充套件。

    詩語
    管理員
    • 文章數量: 5,942
    發帖數:9997
    樓主
    @feibisi

    去除匯入站點的內容大小限制:

    All-in-One WP Migration 是一個不錯的遷移外掛,可它的免費版有 512MB 的檔案尺寸限制,本文介紹如何 hacking 它的這個限制。

    官方的方案

    Unlimited Extension of All-in-One WP Migration 這個售價 $59 , 終身有效:

    取消匯入檔案不得大於 512 MB 的限制;
    永久使用權及軟體更新;
    在任意數量網站上使用;
    貴賓級支援.

    看起來也不算貴,不過為了這種低頻使用物件花 59 刀,貌似還是貴了的。

    HACKING 方案

    來到/wp-content/plugins/all-in-one-wp-migration/constants.php 找到 :

    // =================
    // = Max File Size =
    // =================
    define( 'AI1WM_MAX_FILE_SIZE', 536870912 );

    你自己看著辦吧!

    詩語
    管理員
    • 文章數量: 5,942
    發帖數:9997
    樓主
    @feibisi

    All-in-One WP Migration 匯入後會直接覆蓋資料庫,構想失敗,轉為本地搭建後批次整合後上傳方式。

    詩語
    管理員
    • 文章數量: 5,942
    發帖數:9997
    樓主
    @feibisi

    解決了,因為用的不多還是就按照上面的帖子,直接在本地搭建獨立的站點然後等待倒入完成後整合到多站點中即可。

    詩語
    管理員
    • 文章數量: 5,942
    發帖數:9997
    樓主
    @feibisi
    /*
    Plugin Name: Increase All-In-One WP Migration Limit
    Description: Increase file limit from 512 MB to 5 GB with out having to pay for license.
    Plugin URI: https://#
    Author: Mr.Pakpoom Tiwakornkit
    Author URI: https://#
    Version: 1.0
    License: GPL2
    */
    /*
        Copyright (C) 2016  Mr.Pakpoom Tiwakornkit  apt.enjoy@gmail.com
        This program is free software; you can redistribute it and/or modify
        it under the terms of the GNU General Public License, version 2, as
        published by the Free Software Foundation.
        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.
        You should have received a copy of the GNU General Public License
        along with this program; if not, write to the Free Software
        Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    */
    function increase_all_in_one_wp_migration_limit() {
        return 5368709120;
    }
    add_filter( "ai1wm_max_file_size", "increase_all_in_one_wp_migration_limit" );
    xyetim
    • 文章數量: 1
    發帖數:1
    @xyetim

    全英文的欸。哭了

     

    詩語
    管理員
    • 文章數量: 5,942
    發帖數:9997
    樓主
    @feibisi

    中文的,我們已經漢化了。

正在檢視 7 個帖子:1-7 (共 7 個帖子)
  • 話題 「去除限制和多站點使用 All-in-One WP Migration 整站遷移備份工具外掛」 已關閉,不接受新回覆。

話題資訊