|Version 5 (modified by SagoMax, 7 years ago)|
BACKUPS - Sagonet is backing up:
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
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.
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 database .sql file and insert it into the database.
tar -zxvf tiddlywiki_full.CHANGEDAYHERE.tar.gz
mysql -u root < tiddlywiki_full.CHANGEDAYHERE.tar.gz