]> git.p6c8.net - nextcloud-backup-restore.git/blobdiff - NextcloudBackup.sh
typo
[nextcloud-backup-restore.git] / NextcloudBackup.sh
index 76ca6765ecca487796e1bda720f906f56dbbe74f..47abd1329cabc5839c849d351c643657e3eab486 100644 (file)
@@ -195,7 +195,7 @@ if [ "${databaseSystem,,}" = "mysql" ] || [ "${databaseSystem,,}" = "mariadb" ];
 
        echo "Done"
        echo
-elif [ "${databaseSystem,,}" = "postgresql" ]; then
+elif [ "${databaseSystem,,}" = "postgresql" ] || [ "${databaseSystem,,}" = "pgsql" ]; then
        echo "Backup Nextcloud database (PostgreSQL)..."
 
        if ! [ -x "$(command -v pg_dump)" ]; then

patrick-canterino.de