Timeline for Fastest way (least amount of steps) to locally import a remote database using WP-CLI
Current License: CC BY-SA 3.0
26 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:37 | history | edited | CommunityBot |
replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/
|
|
Aug 28, 2016 at 6:55 | comment | added | jgraup | @EthanJinksO'Sullivan - for what I was intending to learn I think I found it. I would like to clean up my working notes into something more comprehensible down the road. Essentially there is no single answer here when dealing with multisite between several testing servers. If A == B for single site then the process is simplified. But if A != B != C != D when using multisite, then you have to handle the variations. The short answer is that you don't need files if the subset of data is a manageable size. | |
Aug 28, 2016 at 3:24 | comment | added | Ethan Rævan | @jgraup Has this question been resolved? | |
Aug 23, 2016 at 21:10 | history | edited | jgraup | CC BY-SA 3.0 |
added 2 characters in body
|
Aug 23, 2016 at 21:00 | history | edited | jgraup | CC BY-SA 3.0 |
added 238 characters in body
|
Aug 22, 2016 at 4:44 | history | edited | jgraup | CC BY-SA 3.0 |
added 235 characters in body
|
Aug 21, 2016 at 20:32 | history | edited | jgraup | CC BY-SA 3.0 |
edited title
|
Aug 21, 2016 at 20:12 | history | edited | jgraup | CC BY-SA 3.0 |
edited title
|
Aug 16, 2016 at 18:02 | history | edited | jgraup | CC BY-SA 3.0 |
added 796 characters in body
|
Aug 16, 2016 at 17:24 | history | edited | jgraup | CC BY-SA 3.0 |
added 6 characters in body
|
Aug 16, 2016 at 17:17 | history | edited | jgraup | CC BY-SA 3.0 |
added 456 characters in body
|
Aug 16, 2016 at 16:46 | history | edited | jgraup | CC BY-SA 3.0 |
added 221 characters in body
|
Aug 16, 2016 at 8:49 | answer | added | davemac | timeline score: 7 | |
Aug 15, 2016 at 16:58 | history | edited | jgraup | CC BY-SA 3.0 |
added 2 characters in body
|
Aug 15, 2016 at 16:21 | history | edited | jgraup | CC BY-SA 3.0 |
added 81 characters in body
|
Aug 15, 2016 at 12:37 | comment | added | jgraup | That's how you need to do it now which requires functions outside of WP-CLI to handle the file transfer --- and more authentication per location. | |
Aug 15, 2016 at 6:26 | comment | added | David | Have you tried to write the dump into a temporary file instead of a variable? | |
Aug 15, 2016 at 4:43 | history | tweeted | twitter.com/StackWordPress/status/765046204489236480 | ||
Aug 15, 2016 at 1:38 | history | edited | jgraup | CC BY-SA 3.0 |
added 112 characters in body
|
Aug 15, 2016 at 0:42 | history | edited | jgraup | CC BY-SA 3.0 |
added 105 characters in body
|
Aug 14, 2016 at 21:02 | history | edited | jgraup | CC BY-SA 3.0 |
added 1 character in body
|
Aug 14, 2016 at 13:21 | comment | added | jgraup | For me personally, I wouldn't want to do this in a cron job because it adds another dependency to the mix and it's more for just trying to get local in sync with remote when I'm working on it. "Remote" being one of many aliases -- same with local. Another reasons to reduce the function calls is because I tend to like one-line/copy/paste/go! lines of code ;) | |
Aug 14, 2016 at 11:57 | comment | added | brass | You could write a bash script that is called via cron job to scp/rsync file to remote server. Then on remote server you could have another bash script that runs via cron job that watches folder for the backup file and once the file is there it will import it into the remote DB. This is similar to how I keep a "hot standby" server in sync. | |
Aug 13, 2016 at 22:28 | history | edited | jgraup | CC BY-SA 3.0 |
deleted 28 characters in body
|
Aug 13, 2016 at 21:04 | history | edited | jgraup | CC BY-SA 3.0 |
added 172 characters in body
|
Aug 13, 2016 at 20:27 | history | asked | jgraup | CC BY-SA 3.0 |