Last change
on this file since 12788 was 12745, checked in by Daniela Dorner, 13 years ago |
removed -p from rsync options; adapted home path
|
-
Property svn:executable
set to
*
|
File size:
534 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | isdcrawdata=/data00/fact-construction/raw/
|
---|
4 | wuerawdata=/fact/raw
|
---|
5 |
|
---|
6 | today=`date +%F-%H-%M-%S`
|
---|
7 | logfile=~/DataCheck/log/BackupRawToWue$today.log
|
---|
8 |
|
---|
9 | echo "" >> $logfile 2>&1
|
---|
10 | echo "" >> $logfile 2>&1
|
---|
11 | echo "" >> $logfile 2>&1
|
---|
12 | echo `date`": start rsync of raw data to Wuerzburg" >> $logfile 2>&1
|
---|
13 |
|
---|
14 | #rsync from ISDC to Wue DC
|
---|
15 | if ! /usr/bin/rsync -avx --no-p --progress $isdcrawdata operator@coma.astro.uni-wuerzburg.de:$wuerawdata >> $logfile 2>&1
|
---|
16 | then
|
---|
17 | echo `date`": problem rsyncing rawdata from ISDC ("$HOST") to Wuerzburg"
|
---|
18 | fi
|
---|
19 |
|
---|
20 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.