update readme

This commit is contained in:
Michael Murtaugh 2019-06-14 13:22:39 +02:00
parent d18c21c72a
commit 3b531774ae

View File

@ -45,6 +45,7 @@ subcommands
* init
* pull
* list
* listauthors
* gettext
* settext
@ -53,13 +54,14 @@ subcommands
* revisionscount
* index
* deletepad
* pushhtml
To get help on a subcommand:
etherdump revisionscount --help
Usage / cookbook
Cookbook
========================
Using etherdump to migrate from one etherpad instance to another
@ -74,11 +76,12 @@ Using etherdump to migrate from one etherpad instance to another
etherdump init
etherdump pushhtml --basepath ../instance1 ../instance1/p/*.meta.json
Warning, this command indescriminantly clobbers pads in instance2 with the HTML of the dumped versions from instance1.
NB: sethtml/pushhtml seems to only work on the server itself, ie using API url such as localhost:9001.
Note: this technique can be used to "reset" the database of a pad by recreating pads (without their history or editor info/colors) in a fresh database.
NB: This command indescriminantly clobbers pads in instance2 with the HTML of the dumped versions from instance1.
This technique can be used to "reset" the database of a pad by recreating pads (without their history or editor info/colors) in a fresh database.
NB: sethtml/pushhtml seems to be performed from the server itself ie using API url such as localhost:9001.
@ -109,4 +112,6 @@ Jan 2018
-------------
Updated files to work with python3 (probably this has broken python2).
Jun 2019
-------------
Revised sethtml & added pushhtml