comparison scripts/remote-backup.sh @ 317:146c0c263cf9

adding project to remote backup scripts target
author aldrich@ssdt-ohio.org
date Wed, 30 Oct 2019 13:28:14 +0100
parents d78b45c28205
children c61524abdfd6
comparison
equal deleted inserted replaced
316:83f30dc7e9fb 317:146c0c263cf9
66 echo "completed backup of all files for $project to ${backupFile2}" 66 echo "completed backup of all files for $project to ${backupFile2}"
67 67
68 68
69 # 69 #
70 # 70 #
71 scp ${backupFile}.gz ${backupFile2} $userName@$remoteTarget 71 scp ${backupFile}.gz ${backupFile2} $userName@$remoteTarget/$project
72 72
73 echo " " 73 echo " "
74 74
75 echo "completed sending ${backupFile}.gz and ${backupFile2} to ${remoteTarget} as user $userName" 75 echo "completed sending ${backupFile}.gz and ${backupFile2} to ${remoteTarget}/$(project) as user $userName"
76 76
77 77