6 - Versioning of Nextcloud-Backup-Restore.
7 - The database system (MySQL/MariaDB or PostgreSQL) is configured in the variable area of the scripts, so it's not necessary to comment/uncomment the specific database commands.
8 - Special characters for the database password can be used now.
9 - Single quotes for variables.
12 - The commands for retoring the database are checked at the beginning of the script. Is the specific database system is not installed, the restore is cancelled.
13 - The default main backup directory now is the same as in the backup script.