<< | Page list | >>
No proper solution for backing up wiki.lyx.org is implemented yet. This is the solution for now.
Currently the procedure is as follows:
#!/bin/sh # This script creates a directory '$HOME/backup' if it does not exist, # and then creates an archive of the wiki files. # # Written by Christian Ridderstrom 2006-12-23 # Make backupdir backupdir=$HOME/backup mkdir -p $backupdir # Set name of target file tg=$backupdir/wiki.lyx.org_`date +'%Y-%m-%d'`.tar.bz2 # Set name of source src=/home/lyx/www/pmwiki echo Archiving $src echo as $tg echo by executing the command: echo tar cjvf $tg $src echo This will take a while... tar cjf $tg $src echo Done.