source: trunk/DataCheck/BackupRawToWue.sh@ 13032

Last change on this file since 13032 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
3isdcrawdata=/data00/fact-construction/raw/
4wuerawdata=/fact/raw
5
6today=`date +%F-%H-%M-%S`
7logfile=~/DataCheck/log/BackupRawToWue$today.log
8
9echo "" >> $logfile 2>&1
10echo "" >> $logfile 2>&1
11echo "" >> $logfile 2>&1
12echo `date`": start rsync of raw data to Wuerzburg" >> $logfile 2>&1
13
14#rsync from ISDC to Wue DC
15if ! /usr/bin/rsync -avx --no-p --progress $isdcrawdata operator@coma.astro.uni-wuerzburg.de:$wuerawdata >> $logfile 2>&1
16then
17 echo `date`": problem rsyncing rawdata from ISDC ("$HOST") to Wuerzburg"
18fi
19
20
Note: See TracBrowser for help on using the repository browser.