Created
January 3, 2019 06:25
-
-
Save zopyx/770a4a0e0b34de5250d0ce54a4e509ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fs | |
import fs.mirror | |
source = fs.open_fs('webdav://admin:XXXX@localhost:6080/exist/webdav/db/onkopedia') | |
target = fs.open_fs('webdav://admin:XXXX@localhost:8984/webdav/onkopedia') | |
fs.mirror.mirror(source, target, workers=4) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just to mention that you will likely also need your users and index definitions, these can be found under
/exist/webdav/db/system/config/db/onkopedia
and/exist/webdav/db/system/security
respectively.