]> git.p6c8.net - nextcloud-backup-restore.git/commitdiff
Drop DB command PostgreSQL
authorDecaTec <jr@decatec.de>
Tue, 1 Jan 2019 14:54:34 +0000 (15:54 +0100)
committerDecaTec <jr@decatec.de>
Tue, 1 Jan 2019 14:54:34 +0000 (15:54 +0100)
NextcloudRestore.sh

index e57b9982ec88f00b84ca823a45629e2e78796b2b..69b4b003ea5ebabae3bc4c0ea1163aa304d98092 100644 (file)
@@ -125,7 +125,7 @@ echo "Dropping old Nextcloud DB..."
 mysql -h localhost -u "${dbUser}" -p"${dbPassword}" -e "DROP DATABASE ${nextcloudDatabase}"
 
 # PostgreSQL (uncomment if you are using PostgreSQL as Nextcloud database)
 mysql -h localhost -u "${dbUser}" -p"${dbPassword}" -e "DROP DATABASE ${nextcloudDatabase}"
 
 # PostgreSQL (uncomment if you are using PostgreSQL as Nextcloud database)
-#PGPASSWORD="${dbPassword} psql -h localhost -U "${dbUser}" -d nextcloud -c "DROP DATABASE \"${nextcloudDatabase}\";"
+#PGPASSWORD="${dbPassword}" psql -h localhost -U "${dbUser}" -d nextcloud -c "DROP DATABASE \"${nextcloudDatabase}\";"
 echo "Done"
 echo
 
 echo "Done"
 echo
 

patrick-canterino.de