Updated rsync script
This commit is contained in:
parent
195ed41725
commit
3dbb3b9418
1 changed files with 15 additions and 15 deletions
|
@ -46,7 +46,7 @@ DEST_USB="/mnt/backup/${HOSTNAME}/dbroqua/"
|
|||
# SSHFS
|
||||
DEST_SSHFS="malpartida.mousur.org:Backup/${HOSTNAME}/dbroqua/"
|
||||
|
||||
echo `date` > ${ORIG}/lastSync
|
||||
echo `date` > ${ORIG}/lastBackup
|
||||
|
||||
while getopts t:h opt
|
||||
do
|
||||
|
@ -69,7 +69,7 @@ do
|
|||
esac
|
||||
done
|
||||
|
||||
echo `date` > ${ORIG}/lastSync_${TYPE}
|
||||
echo "Method: ${TYPE}" >> ${ORIG}/lastBackup
|
||||
|
||||
if [ "${TYPE}" != '' ] ; then
|
||||
case ${TYPE} in
|
||||
|
|
Loading…
Reference in a new issue