去除限制和多站點使用 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 整站遷移備份工具插件」 已關閉,不接受新回覆。

話題信息