I have been running TiddlyWiki using npm command
tiddlywiki mynewwiki --server
I took regular backups using
tiddlywiki mynewwiki --build index
I messed up and now want to restore my last backup to TiddlyWiki NodeJS. How do I do that?
Say I remove the tiddlers
folder and tiddlywiki.info
, and create a new TW using
tiddlywiki mynewwiki --init server
But then how will I import my backup TW and its settings to the new TW? Is there a command for creating tiddlers from index.html
file?
To anyone else, beginner like me, when running --load
command make sure you are in an empty folder with tiddlywiki.info
present.
First create a ~TiddlyWiki folder
tiddlywiki "TiddlyNotes" --init server
cd TiddlyNotes
Then run load
command
tiddlywiki --load ../Backup/index-2018-07-12-1417.html
It will generate a tiddlers
folder in the same directory.
If tiddlywiki.info
is not present then nothing happens.