#!/bin/bash

isdcauxdata=/data00/fact-construction/aux/
wueauxdata=/fact/aux

today=`date +%F`
logfile=/home/isdc/`whoami`/DataCheck/log/BackupRawToWue$today.log

echo `date`": start rsync of auxiliary data to Wuerzburg" >> $logfile 2>&1

#rsync from ISDC to Wue DC
if ! /usr/bin/rsync -avxH --progress $isdcauxdata operator@coma.astro.uni-wuerzburg.de:$wueauxdata #>> $logfile 2>&1
then
   echo `date`": problem rsyncing auxiliary data from ISDC to Wuerzburg"
fi


