source: trunk/DataCheck/Transfer/RsyncDBToWue.sh@ 15559

Last change on this file since 15559 was 13047, checked in by Daniela Dorner, 13 years ago
moved db backup script to transfer directory
  • Property svn:executable set to *
File size: 498 bytes
Line 
1#!/bin/bash
2
3today=`date +%F`
4logfile=/home/`whoami`/DataCheck/log/RsyncDBToWue$today.log
5
6dbdirlp=/home/fact/DB_Backup
7dbdirwue=/home/operator/budb/fact_from_lp
8echo "" >> $logfile 2>&1
9echo "" >> $logfile 2>&1
10echo "" >> $logfile 2>&1
11echo `date`": processing files in "$dbdirlp >> $logfile 2>&1
12
13#rsync from gate to coma
14if ! /usr/bin/rsync -avxP $dbdirlp operator@coma.astro.uni-wuerzburg.de:$dbdirwue >> $logfile 2>&1
15then
16 echo `date`": problem rsyncing database from LP to Wuerzburg"
17fi
18
19
Note: See TracBrowser for help on using the repository browser.