Hi Lance, I sometimes use this simple shell script [1] with file vault to import content from one AEM instance to another. I am happy to share if it helps. I am not sure if you are doing this between 2 sling instances though. But you should be able to change it to use export instead of rcp. Of course you would also need to change the command URL since it has /crx/.
Also, this just a guess, but see if your Sling instance has these bundles active. I think your guess is correct. The error indicates that the repository you are connecting to does not support the protocol you are using - WebDav in this case. Jackrabbit WebDAV Library org.apache.jackrabbit.jackrabbit-webdav Apache Sling Simple WebDAV Access to repositories org.apache.sling.jcr.webdav Apache Sling DavEx Access to repositories org.apache.sling.jcr.davex [1] #!/bin/sh help() { echo echo "parameters: user:password@sourceHost user:password@destHost cqPath" echo “example: $0 admin:admin@localhost:4502 <http://localhost:4502/> admin:admin@localhost:4503 <http://localhost:4503/> /content/mysite" echo } case $1 in --help | -h | -help | -hlep) help ;; *) if [ `echo $@ | wc -w` -gt 2 ] then vlt -v rcp -b 1000 -t 1 -r http://$1/crx/-/jcr:root$3 http://$2/crx/-/jcr:root$3 echo "Done!" echo else help fi;; esac > On Feb 7, 2017, at 3:18 PM, lancedolan <lance.do...@gmail.com> wrote: > > If it's not composum, then it's file-vault or JCR related, which is even more > concerning. > > I'm pretty confident this isn't user error. I've given consulting > demonstrations, teaching others the ins and outs of file-vault XML-to-node > translation, the various complex rules one can combine, and also written > code that dynamically assembles valid file vault packages to be POSTed to > CRX package manager, which I believe also uses file vault under the hood... > I'm really quite aware, in general, of how this thing should work. Of course > I could be missing something, but if this is user error, then it's something > esoteric and imperceptible, something very different than the CRX and file > vault I'm used to. > > Here's what I'm doing: > > 1) click "+" to create new package > 2) click filter tab and "+" to create new filter > 3) give root path "/content" and save with default Replace Import Mode and > empty filter set > 4) Click Build > > Result: empty content directory in the package. Nothing in the log file. > > I suppose as a next step I can split all com.composum logs to a separate log > and set that to DEBUG level and watch for things... Maybe do the same with > org.apache.jackrabbit.vault. > > One plausible possibility seems that my /content data might be in some > invalid state such that file vault can't/won't read it?? I'm really grasping > at possibilities at this point. > > > > -- > View this message in context: > http://apache-sling.73963.n3.nabble.com/import-and-export-JCR-data-tp4069390p4070161.html > Sent from the Sling - Users mailing list archive at Nabble.com.