去除限制和多站点使用 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 整站迁移备份工具插件」 已关闭,不接受新回复。

话题信息