Changeset 17103 for trunk/DataCheck/Transfer
- Timestamp:
- 09/06/13 17:04:19 (11 years ago)
- Location:
- trunk/DataCheck/Transfer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Transfer/BackupQLA.sh
r15559 r17103 19 19 daq) from="/loc_data/analysis/" 20 20 to="/newdaq/analysis_bu" 21 # new temporary solution with rsync-servers 22 to="newdaq::newdaq/analysis_bu" 21 23 ;; 22 24 isdc-dl00) from="fact@161.72.93.131:/daq/analysis/" 23 25 to="/gpfs/scratch/fact/qla" 26 # for new rsync: update variables 24 27 ;; 25 28 *) echo "no valid host "$HOSTNAME -
trunk/DataCheck/Transfer/RsyncAuxLP.sh
r15594 r17103 69 69 70 70 # rsync from newdaq to daq 71 if ! /usr/bin/rsync -avxHP -T $rsynctempdir $bwlimit newdaq:$dir/ $dir >> $logfile 2>&1 71 rsyncserverdir=`echo $dir | sed -e 's/^\//172.16.100.100::/' -e 's/loc_data/newdaq/'` 72 # old 73 #if ! /usr/bin/rsync -avxHP -T $rsynctempdir $bwlimit newdaq:$dir/ $dir >> $logfile 2>&1 74 # new (temporary until pb on daq is solved) 75 if ! /usr/bin/rsync -avxHP -T $rsynctempdir $bwlimit $rsyncserverdir/ $dir >> $logfile 2>&1 72 76 then 73 77 printprocesslog "WARN problem rsyncing auxiliary files in "$dir" from newdaq to daq" 74 78 echo `date`": problem rsyncing auxiliary files in "$dir" from newdaq to daq" 75 79 fi 76 77 #rsync from daq to data 78 if ! /usr/bin/rsync -avxHP -T $rsynctempdir $bwlimit $dir/ $dirdata >> $logfile 2>&1 80 81 # rsynctemp-dir -> use one on data!!! i.e. has to be /data/rsync_tmp 82 # rsync from daq to data 83 # old (rsynctempdirdata not tested) 84 #rsynctempdirdata=`echo $rsynctempdir | sed -e 's/loc_//'` 85 #if ! /usr/bin/rsync -avxHP -T $rsynctempdirdata $bwlimit $dir/ $dirdata >> $logfile 2>&1 86 # new 87 rsyncserverdirdata=`echo $dir | sed -e 's/^\//data::/' -e 's/loc_//'` 88 rsynctempdirdata=/rsync_tmp 89 if ! /usr/bin/rsync -avxHP -T $rsynctempdirdata $bwlimit $dir/ $rsyncserverdirdata >> $logfile 2>&1 79 90 then 80 91 printprocesslog "WARN problem rsyncing auxiliary files in "$dir" from daq to data"
Note:
See TracChangeset
for help on using the changeset viewer.