]> git.p6c8.net - nextcloud-backup-restore.git/blobdiff - NextcloudRestore.sh
Drop DB command PostgreSQL
[nextcloud-backup-restore.git] / 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)
-#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
 

patrick-canterino.de