Mô tả
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. 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
files in wp-content/plugins/database-sync/backups/dbYYYYMMDD.HHMMSS.sql.gz The backups directory should be made
writable, and you should keep an eye on it if you sync often as it will grow in size.
Usage
See Installation instructions.
Cài đặt
- Install as usual.
- Activate plugin.
- Repeat 1 & 2 on each server that you want to link.
- Go to Tools > Database Sync on the main server and copy the token.
- On the other server(s), go to Tools > Database Sync and paste the token.
You are now set up to pull from and push to the main server.
Đánh giá
Người đóng góp & Lập trình viên
“Database Sync” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Database Sync” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
Version 0.5.1
- Extra URL sanitisation.
Version 0.5
- Fixed XSS vulnerability.
Version 0.4
- Support for dumping and syncing MySQL VIEWs.
Version 0.3.1
- Fixed E_NOTICE warning. Thanks to miniragnarok.
Version 0.3
- Use
$wpdb
instead of deprecatedmysqli
extension. Thanks to Simon East. - Fixed manual dump download filename. Thanks to Ronald Mansveld.
Version 0.2
- Initial public release.
Version 0.1
- Internal testing.