Quantcast
Channel: XWiki Forum - Latest topics
Viewing all articles
Browse latest Browse all 1373

Export whole wiki in cli (xar) via wget and basic auth

$
0
0

Hello Community,

im trying to automate a simple xar backup to transfer some pages to a offline backup xwiki instance.

Im using this to authenticate which works:
‘wget ‘https://user:password@hostname.com.donotresolve/xwiki/bin/view/Main/WebHome?basicauth=1’’

Doing the backup works with:
https://hostname.com.donotresolve/xwiki/bin/export/Space/Page?format=xar&pages=PAGE.%25

I tried both togehter with:

wget ‘https://user:password@hostname.org/xwiki/bin/export/Space/Page?basicauth=1&format=xar&pages=PAGE.%25’ -O export.xar

which doesnt work.

Any idea how to combine basic auth with the export url?

Thank you

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1373

Trending Articles