TiddlyWiki.org

BACKUPS - Sagonet is backing up:

/home/tiddlywiki

/etc/usr/local/etc

and a dump of the database

Incremental backups will be made to their backup servers nightly. A complete backup will be made weekly as a TAR or ZIP file.

Here is the BackupScriptAsOf 7-25-06


RECOVERY

To recover files from backups:

First transfer the correct .tar.gz (of the backup) back to the server. Issue the command:

tar -zxvf filename.tar.gz

This extracts the contents of your backup into subdirectories of the current directory.

The next step would be to copy the proper directories back to their original location.

This command WILL overwrite any existing files'''

cp -Rp --reply=yes etc/* /etc/

cp -Rp --reply=yes home/tiddlywiki/* /home/tiddlywiki/

cp -Rp --reply=yes usr/local/etc/* /usr/local/etc<br>

The last step is to extract the proper database .sql file and insert it into the database.

Important Note: If you are performing these restoration steps on a server that is NOT freshly installed, you will want to empty the tables in the database first otherwise you may experience errors when importing.

mysql -u root < usr/home/tiddlywiki/mysql_backups/ltiddlywiki_full.CHANGEDATEHERE.sql