Changeset 12745 for trunk


Ignore:
Timestamp:
01/16/12 13:13:53 (13 years ago)
Author:
Daniela Dorner
Message:
removed -p from rsync options; adapted home path
Location:
trunk/DataCheck
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/BackupAuxToWue.sh

    r12565 r12745  
    44wueauxdata=/fact/aux
    55
    6 today=`date +%F`
    7 logfile=/home/isdc/`whoami`/DataCheck/log/BackupRawToWue$today.log
     6today=`date +%F-%H-%M-%S`
     7logfile=~/DataCheck/log/BackupAuxToWue$today.log
    88
    99echo "" >> $logfile 2>&1
     
    1313
    1414#rsync from ISDC to Wue DC
    15 if ! /usr/bin/rsync -avxH --progress $isdcauxdata operator@coma.astro.uni-wuerzburg.de:$wueauxdata >> $logfile 2>&1
     15if ! /usr/bin/rsync -avxH --no-p $isdcauxdata operator@coma.astro.uni-wuerzburg.de:$wueauxdata >> $logfile 2>&1
    1616then
    17    echo `date`": problem rsyncing auxiliary data from ISDC to Wuerzburg"
     17   echo `date`": problem rsyncing auxiliary data from ISDC ("$HOST") to Wuerzburg"
    1818fi
    1919
  • trunk/DataCheck/BackupRawToWue.sh

    r12565 r12745  
    44wuerawdata=/fact/raw
    55
    6 today=`date +%F`
    7 logfile=/home/isdc/`whoami`/DataCheck/log/BackupRawToWue$today.log
     6today=`date +%F-%H-%M-%S`
     7logfile=~/DataCheck/log/BackupRawToWue$today.log
    88
    99echo "" >> $logfile 2>&1
     
    1313
    1414#rsync from ISDC to Wue DC
    15 if ! /usr/bin/rsync -avxH --progress $isdcrawdata operator@coma.astro.uni-wuerzburg.de:$wuerawdata >> $logfile 2>&1
     15if ! /usr/bin/rsync -avx --no-p --progress $isdcrawdata operator@coma.astro.uni-wuerzburg.de:$wuerawdata >> $logfile 2>&1
    1616then
    17    echo `date`": problem rsyncing rawdata from ISDC to Wuerzburg"
     17   echo `date`": problem rsyncing rawdata from ISDC ("$HOST") to Wuerzburg"
    1818fi
    1919
Note: See TracChangeset for help on using the changeset viewer.