# HG changeset patch # User aldrich@ssdt-ohio.org # Date 1572446991 -3600 # Node ID c61524abdfd63163e029a4395df8d66ffff96931 # Parent 146c0c263cf9ecba243ef5c6159d183d119f7331 correcting adding project to remote backup scripts target diff -r 146c0c263cf9 -r c61524abdfd6 scripts/remote-backup-all.sh --- a/scripts/remote-backup-all.sh Wed Oct 30 13:28:14 2019 +0100 +++ b/scripts/remote-backup-all.sh Wed Oct 30 15:49:51 2019 +0100 @@ -37,7 +37,7 @@ IRN=$(docker-compose exec -T $container1 psql --username=postgres --dbname=$container1 -t -c 'select irn from organization') -if ["$IRN" == ""]; then +if [ "$IRN" == "" ]; then IRN=$(docker-compose exec -T $container2 psql --username=postgres --dbname=$container2 -t -c 'select irn from organization') fi @@ -103,6 +103,6 @@ echo " " -echo "completed sending ${backupFile1}.gz, ${backupFile2}.gz, and ${backupFile3} to ${remoteTarget}/$(project) as user $userName" +echo "completed sending ${backupFile1}.gz, ${backupFile2}.gz, and ${backupFile3} to ${remoteTarget}/${project} as user $userName" diff -r 146c0c263cf9 -r c61524abdfd6 scripts/remote-backup.sh --- a/scripts/remote-backup.sh Wed Oct 30 13:28:14 2019 +0100 +++ b/scripts/remote-backup.sh Wed Oct 30 15:49:51 2019 +0100 @@ -72,6 +72,6 @@ echo " " -echo "completed sending ${backupFile}.gz and ${backupFile2} to ${remoteTarget}/$(project) as user $userName" +echo "completed sending ${backupFile}.gz and ${backupFile2} to ${remoteTarget}/${project} as user $userName"