-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathreadme.txt
More file actions
53 lines (39 loc) · 1.41 KB
/
Copy pathreadme.txt
File metadata and controls
53 lines (39 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# DB Snapshot #
**Contributors: binarygary
**Donate link: https://bethematch.org/
**Tags: database, wp-cli
**Requires at least: 4.4
**Tested up to: 4.8
**Stable tag: 0.2.2
**License: GPLv2
**License URI: http://www.gnu.org/licenses/gpl-2.0.html
Extends WP-CLI to include a db checkpoint for development purposes.
## Description ##
If [WP-CLI](http://wp-cli.org/ "WP-CLI") is available this plugin adds 2 new commands.
`wp dbsnap`
creates a snapshot of your database. No fuss, no muss...
`wp dbsnapback`
restores the snapshot. That simple...
If you need 2 different checkpoints you can name them
`wp dbsnap db-before-i-do-something-sketchy`
`wp dbsnapback db-before-i-do-something-sketchy`
## Installation ##
### Manual Installation ###
1. Upload the entire `/db-checkpoint` directory to the `/wp-content/plugins/` directory.
2. Activate DB CheckPoint through the 'Plugins' menu in WordPress.
## Frequently Asked Questions ##
= Where are the db exports stored? =
wp-content/checkpoint-storage/
## Changelog ##
### 0.2.2 ###
* Adds flag --dev which prompts
### 0.2.1 ###
* Adds flag --dumplog which removes the debug.log file.
### 0.2.0 ###
* Added a method to install the helper plugin.
* Helper plugin adds a restore option to the admin bar.
### 0.1.1 ###
* Fixed a function name in the plugin class.
* Fixed readme.txt formatting.
### 0.1.0 ###
* First release