X-Git-Url: https://git.p6c8.net/nextcloud-backup-restore.git/blobdiff_plain/ef8cf41f189efef062cbe09e6d2e4131f80112bc..refs/remotes/upstream/auto-setup:/NextcloudBackup.sh diff --git a/NextcloudBackup.sh b/NextcloudBackup.sh index a2467a7..47abd13 100644 --- a/NextcloudBackup.sh +++ b/NextcloudBackup.sh @@ -3,7 +3,7 @@ # # Bash script for creating backups of Nextcloud. # -# Version 1.1.1 +# Version 2.0.0 # # Usage: # - With backup directory specified in the script: ./NextcloudBackup.sh @@ -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