diff 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
line wrap: on
line diff
--- a/scripts/remote-backup.sh	Tue Oct 29 16:45:31 2019 +0100
+++ b/scripts/remote-backup.sh	Wed Oct 30 13:28:14 2019 +0100
@@ -68,10 +68,10 @@
 
 #
 #
-scp ${backupFile}.gz  ${backupFile2} $userName@$remoteTarget
+scp ${backupFile}.gz  ${backupFile2} $userName@$remoteTarget/$project
 
 echo " "
 
-echo "completed sending ${backupFile}.gz and ${backupFile2} to ${remoteTarget} as user $userName"
+echo "completed sending ${backupFile}.gz and ${backupFile2} to ${remoteTarget}/$(project) as user $userName"