source: spip-zone/_dev_/bin_svn/backup.sh @ 4986

Last change on this file since 4986 was 4986, checked in by fil@…, 13 years ago

j'ai retrouve les scripts paquets.sh etc

  • Property svn:executable set to *
File size: 678 bytes
Line 
1#! /bin/bash
2
3## bidouilles installation
4tracadmin9=/home/svn/tracEnLocal/usr/bin/trac-admin
5export PYTHONPATH=/home/svn/tracEnLocal/site-packages
6
7
8# nettoyer les repertoires destination
9rm -rf backup/svn/* backup/trac/*
10mkdir -p backup/svn
11mkdir -p backup/trac
12
13# copier les fichiers svn + trac
14for i in `ls -1 projects/`; do \
15        svnadmin hotcopy projects/$i backup/svn/$i
16        $tracadmin9 trac/$i hotcopy backup/trac/$i
17done
18
19
20# envoyer sur infora.cursys.net
21rsync -a --delete backup/ infora.cursys.net::trac-rezo-net/
22
23# nettoyer de nouveau
24rm -rf backup/svn/* backup/trac/*
25
26# faire les paquets tgz dans http://zone.spip.org/files/spip-zone/ etc
27bin/paquets.sh spip spip-zone
28
Note: See TracBrowser for help on using the repository browser.