How to restore backup to TiddlyWiki running on NodeJS?

201 views
Skip to first unread message

talha131

unread,
Jul 10, 2018, 9:54:03 PM7/10/18
to TiddlyWiki

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?

Mark S.

unread,
Jul 10, 2018, 11:16:28 PM7/10/18
to TiddlyWiki
I think you use the load command (https://tiddlywiki.com/#LoadCommand) . Or just drag and drop the index.html file onto your new instance.

-- Mark

talha131

unread,
Jul 12, 2018, 5:09:11 AM7/12/18
to TiddlyWiki
Thank you Mark. Drag and drop worked.

talha131

unread,
Jul 12, 2018, 6:03:44 AM7/12/18
to TiddlyWiki

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.

Reply all
Reply to author
Forward
0 new messages