Warning, /education/labplot/admin/backup is written in an unsupported language. File is not indexed.
0001 0002 BACKUPDIR=LabPlot-2.0 0003 BASEDIR=/root/ 0004 BACKUPHOST=linux 0005 BACKUP=/sw/ 0006 ####################### 0007 cd $BASEDIR 0008 cd $BACKUPDIR 0009 ./clean 0010 0011 cd - 0012 tar zcf "$BACKUPDIR.tar.gz" $BACKUPDIR 0013 0014 scp "$BACKUPDIR.tar.gz" $BACKUPHOST:$BACKUP 0015 rm "$BACKUPDIR.tar.gz" 0016 0017 cd -