X-Git-Url: https://git.p6c8.net/nextcloud-backup-restore.git/blobdiff_plain/8a9ebc2de3bed79841082eb2416be7eee0d4739f..1575f860d04e5ef4213ab61c919c328ba9214c40:/NextcloudRestore.sh diff --git a/NextcloudRestore.sh b/NextcloudRestore.sh index e57b998..69b4b00 100644 --- a/NextcloudRestore.sh +++ b/NextcloudRestore.sh @@ -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