How do I export the whole wiki from a running node.js instance, but as an encrypted single html file?
I've tried "tiddlywiki MyWiki --build index --password ****", but that just gives me an unencrypted file (just like using the save function on the wiki).
I also tried"tiddlywiki MyWiki--password ****--build index", but that leads to tons of errors.
Isthis possible? It would be handy to have a secure backup if my server is down. Thanks
I also tried"tiddlywiki MyWiki--password ****--build index", but that leads to tons of errors.
What errors do you get? That should work;
$:/core/modules/commands/build.js:27
var buildTargets = $tw.boot.wikiInfo.build;
^
TypeError: Cannot read property 'build' of null
at Command.execute ($:/core/modules/commands/build.js:27:39)
at Commander.executeNextCommand ($:/core/modules/commander.js:107:14)
at Commander.executeNextCommand ($:/core/modules/commander.js:111:12)
at Commander.execute ($:/core/modules/commander.js:64:7)
at Object.exports.startup ($:/core/modules/startup/commands.js:34:12)
at Object.$tw.boot.executeNextStartupTask (/usr/lib/node_modules/tiddlywiki/boot/boot.js:2116:10)
at Object.$tw.boot.executeNextStartupTask (/usr/lib/node_modules/tiddlywiki/boot/boot.js:2114:21)
at Object.$tw.boot.executeNextStartupTask (/usr/lib/node_modules/tiddlywiki/boot/boot.js:2114:21)
at Object.$tw.boot.executeNextStartupTask (/usr/lib/node_modules/tiddlywiki/boot/boot.js:2114:21)
at Object.$tw.boot.executeNextStartupTask (/usr/lib/node_modules/tiddlywiki/boot/boot.js:2114:21)