[wordpress插件] Database Sync数据库同步

wordpress 插件 文章 2020-04-12 21:10 478 0 全屏看文

AI助手支持GPT4.0

评分
92
描述

WARNING: This plugin is for advanced users.

警告:该插件适用于高级用户。

If used incorrectly it could wipe out all your content!

如果使用不当,它可能会清除所有内容

Keeping databases in sync between development, staging and live servers can be a pain.

使数据库在开发,登台和实时服务器之间保持同步可能会很痛苦。

This plugin lets you

该插件可让您

link together several WordPress installations by sharing a secret token.

通过共享秘密令牌将多个WordPress安装链接在一起。

Once linked, administrators can pull

链接后,管理员可以拉

or push the entire database between servers with just a click.

或只需单击即可在服务器之间推送整个数据库。

Currently syncs database only, not uploaded files.

当前仅同步数据库,不同步上传的文件。

Backups

备份

The plugin will attempt to make local backups of the database before overwriting.

插件将在覆盖之前尝试对数据库进行本地备份。

These are stored as gzipped SQL

这些存储为gzip压缩的SQL

files in wp-content/plugins/database-sync/backups/dbYYYYMMDD.HHMMSS.sql.gz The backups directory should be made

wp-content / plugins / database-sync / backups / dbYYYYMMDD.HHMMSS.sql.gz中的文件应该创建备份目录

writable, and you should keep an eye on it if you sync often as it will grow in size.

可写的,并且如果您经常进行同步,则应注意这一点,因为它的大小会不断增加。

Usage

用法

See Installation instructions.

请参阅安装说明。

Plugin by Outlandish

由异域语言插入

安装步骤

    1. Install as usual.
    2. 照常安装。

    3. Activate plugin.
    4. 激活插件。

    5. Repeat 1 & 2 on each server that you want to link.
    6. 在要链接的每个服务器上重复1和2。

    7. Go to Tools > Database Sync on the main server and copy the token.
    8. 转到主服务器上的“工具”>“数据库同步”,然后复制令牌。

    9. On the other server(s), go to Tools > Database Sync and paste the token.
    10. 在其他服务器上,转到“工具”>“数据库同步”,然后粘贴令牌。

    You are now set up to pull from and push to the main server.

    您现在已设置为可以从主服务器拉入并推入主服务器。

下载地址
https://downloads.wordpress.org/plugin/database-sync.0.5.1.zip
-EOF-

AI助手支持GPT4.0