Last change
on this file since 3804 was 3677, checked in by Bruno Cornec, 7 years ago |
Remove th ebackup of inexistant ossi file
|
-
Property svn:executable
set to
*
|
File size:
661 bytes
|
Rev | Line | |
---|
[3670] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | for i in mondorescue dploy uuwl pusk ossi pb; do
|
---|
| 4 | svnadmin dump /prj/svn/$i | gzip -9c > $HOME/$i-svn.dump.gz
|
---|
| 5 | if [ -d /prj/trac/$i.env ]; then
|
---|
| 6 | tar cvfz $HOME/$i-trac.tar.gz /prj/trac/$i.env
|
---|
| 7 | fi
|
---|
| 8 | done
|
---|
| 9 | # pb is a special case for naming :-(
|
---|
| 10 | tar cvfz $HOME/project-builder-trac.tar.gz /prj/trac/project-builder.env
|
---|
| 11 | #
|
---|
| 12 | # Sympa
|
---|
| 13 | sudo tar cvfz $HOME/sympa.tar.gz /etc/sympa /var/lib/sympa /var/lib/mysql /usr/share/sympa
|
---|
| 14 | #
|
---|
| 15 | cp /prj/trac/trac.* $HOME
|
---|
| 16 | sudo cp -a /usr/local/etc $HOME
|
---|
| 17 | sudo cp /etc/rsyncd.conf $HOME
|
---|
| 18 | sudo cp -a /etc/httpd/conf/vhosts.d $HOME
|
---|
[3677] | 19 | #sudo cp /etc/init.d/ossi $HOME
|
---|
[3670] | 20 | sudo cp -a /var/spool/cron $HOME
|
---|
Note:
See
TracBrowser
for help on using the repository browser.