Last change
on this file since 17120 was 13047, checked in by Daniela Dorner, 13 years ago |
moved db backup script to transfer directory
|
-
Property svn:executable
set to
*
|
File size:
498 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | today=`date +%F`
|
---|
4 | logfile=/home/`whoami`/DataCheck/log/RsyncDBToWue$today.log
|
---|
5 |
|
---|
6 | dbdirlp=/home/fact/DB_Backup
|
---|
7 | dbdirwue=/home/operator/budb/fact_from_lp
|
---|
8 | echo "" >> $logfile 2>&1
|
---|
9 | echo "" >> $logfile 2>&1
|
---|
10 | echo "" >> $logfile 2>&1
|
---|
11 | echo `date`": processing files in "$dbdirlp >> $logfile 2>&1
|
---|
12 |
|
---|
13 | #rsync from gate to coma
|
---|
14 | if ! /usr/bin/rsync -avxP $dbdirlp operator@coma.astro.uni-wuerzburg.de:$dbdirwue >> $logfile 2>&1
|
---|
15 | then
|
---|
16 | echo `date`": problem rsyncing database from LP to Wuerzburg"
|
---|
17 | fi
|
---|
18 |
|
---|
19 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.