Edit Links |
Site /
Backup
<< | Page list | >> Table of contents (hide) No proper solution for backing up wiki.lyx.org is implemented yet. This is the solution for now. 1. Backup procedureCurrently the procedure is as follows:
2. Ideas
3. Scripts3.1 aussie.lyx.org:/home/lyx/www/pmwiki/bin/backup.sh#!/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. |