I've setup TiddlyWiki on an Ubuntu server. It's running on Nodejs. I've got a shell script that zips up my /home/username/wiki/ directory. The shell script then runs a PHP script that renames the zip file to DAYOFMONTH_wiki.zip. For example, if today is March 13th, then it renames the zip file to:
13_wiki.zip
The idea here is that it backs up the files on a monthly rotation, so there shouldn't be more than about 30 backup files (for 30 days in the month) since when the new month rolls around it will replace 1_wiki.zip, then 2_wiki.zip and so on.
This PHP script then uploads the renamed zip file to my Amazon S3 bucket each day and also when the server reboots (it's a cron job).
Anyways, could someone please confirm that if I backup the /home/username/wiki/ directory, then is this a sufficient backup for my TiddlyWiki? I would just hate to find out that I'm not backing up enough files or doing it incorrectly if my server breaks for some reason.
Also, what would be the process for restoring the backup on a new server, if I ever have to do a restore?