Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alfiosalanitri/wp-db-sync
A simple bash script to import/export a wordpress database to/from wordpress root directory.
https://github.com/alfiosalanitri/wp-db-sync
database sync wordpress
Last synced: about 1 month ago
JSON representation
A simple bash script to import/export a wordpress database to/from wordpress root directory.
- Host: GitHub
- URL: https://github.com/alfiosalanitri/wp-db-sync
- Owner: alfiosalanitri
- License: mit
- Created: 2022-08-01T12:07:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-16T14:50:03.000Z (about 1 year ago)
- Last Synced: 2023-12-16T15:58:24.258Z (about 1 year ago)
- Topics: database, sync, wordpress
- Language: Shell
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wp-db-sync
A simple bash script to import/export a wordpress database to/from wordpress root directory.## Installation
- `sudo chmod +x /path/to/wp-db-sync`
- `sudo ln -s /path/to/wp-db-sync /usr/local/bin/wp-db-sync`## Usage
- `cd /to/wordpress/website/directory/`
- `wb-db-sync -e` to export the database to /wordpress/website/directory/dump.sql
- `wp-db-sync -i` to import the database from /wordpress/website/directory/dump.sql (note: the script will export a dump.sql.bkp before importing the database)# Author:
wp-db-sync is written by Alfio Salanitri www.alfiosalanitri.it and are licensed under the terms of the GNU General Public License, version 2 or higher.