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

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

ouch, duplication des efforts...

  • Property svn:executable set to *
File size: 716 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
27# c'est toggg maintenant qui fait ca
28#bin/paquets.sh spip spip-zone
29
Note: See TracBrowser for help on using the repository browser.