ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/misc/scripts/shell/cvsbackup.sh
Revision: 1.1
Committed: Sun Dec 9 01:29:50 2001 UTC (22 years, 5 months ago) by tdb
Content type: application/x-sh
Branch: MAIN
Log Message:
Script used to generate tarfiles of the cvs repository (for backing up).

File Contents

# User Rev Content
1 tdb 1.1 #!/bin/sh
2    
3     CVSROOT="/cvs/i-scream"
4     TARFILE="/home/sites/www.i-scream.org.uk/web/i-scream-cvs.tar"
5    
6     /bin/rm -f ${TARFILE}
7     /bin/rm -f ${TARFILE}.gz
8    
9     cd ${CVSROOT}
10    
11     /bin/tar -cvf ${TARFILE} * >/dev/null
12     /usr/bin/gzip -9 ${TARFILE}
13    
14     /bin/chown iscream:site8 ${TARFILE}.gz