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