Page MenuHomePhabricator

Add a `vagrant export-dump` command to export the wiki contents
Open, MediumPublic

Description

This would be a nice to have to convince people that killing and rebuilding a badly behaving vm is easier than debugging strange settings drift. Extra bonus points for vagrant rebuild to dump the wiki content, destroy the vm, create a new vm and import the wiki dump all in one command.


Version: unspecified
Severity: enhancement

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:35 AM
bzimport set Reference to bz68594.
bzimport added a subscriber: Unknown Object (MLST).
bd808 created this task.Jul 25 2014, 10:55 PM
bd808 added a comment.Nov 17 2014, 9:35 PM

Bulk unassigning bugs from Ori.

dduvall moved this task from Backlog to Upcoming on the MediaWiki-Vagrant board.Jan 9 2015, 11:33 PM

Change 341269 merged by jenkins-bot:
[mediawiki/vagrant] Add export-dump command

https://gerrit.wikimedia.org/r/341269

bd808 assigned this task to Tgr.Mar 14 2017, 3:24 AM

Change 342560 merged by jenkins-bot:
[mediawiki/vagrant] Add export-dump command

https://gerrit.wikimedia.org/r/342560

Tgr added a comment.Mar 14 2017, 3:58 AM

Done but a bit awkward; making it non-awkward is blocked on T160388: Support revisions and logs in the same dump.

Extra bonus points for vagrant rebuild to dump the wiki content, destroy the vm, create a new vm and import the wiki dump all in one command.

Note that there is no way currently to export/import most non-revision-based content (e.g. users or OAuth consumers). In some use cases (such as switching from trusty to jessie) a rebuild command using plain DB dumps might be more appropriate.

Aklapper removed Tgr as the assignee of this task.Jun 19 2020, 4:26 PM
Aklapper edited subscribers, added: Aklapper; removed: wikibugs-l-list.

This task has been assigned to the same task owner for more than two years. Resetting task assignee due to inactivity, to decrease task cookie-licking and to get a slightly more realistic overview of plans. Please feel free to assign this task to yourself again if you still realistically work or plan to work on this task - it would be welcome!

For tips how to manage individual work in Phabricator (noisy notifications, lists of task, etc.), see https://phabricator.wikimedia.org/T228575#6237124 for available options.
(For the records, two emails were sent to assignee addresses before resetting assignees. See T228575 for more info and for potential feedback. Thanks!)