mysql -h localhost -u "${dbUser}" -p"${dbPassword}" "${nextcloudDatabase}" < "${currentRestoreDir}/${fileNameBackupDb}"
# PostgreSQL (uncomment if you are using PostgreSQL as Nextcloud database)
mysql -h localhost -u "${dbUser}" -p"${dbPassword}" "${nextcloudDatabase}" < "${currentRestoreDir}/${fileNameBackupDb}"
# PostgreSQL (uncomment if you are using PostgreSQL as Nextcloud database)