From: DecaTec Date: Thu, 4 Jun 2020 10:53:17 +0000 (+0200) Subject: Updated link to NC admin manual; typos X-Git-Tag: v2.1.0~4 X-Git-Url: https://git.p6c8.net/nextcloud-backup-restore.git/commitdiff_plain/ef8cf41f189efef062cbe09e6d2e4131f80112bc?ds=inline;hp=-c Updated link to NC admin manual; typos --- ef8cf41f189efef062cbe09e6d2e4131f80112bc diff --git a/NextcloudBackup.sh b/NextcloudBackup.sh index 72bc4a0..a2467a7 100644 --- a/NextcloudBackup.sh +++ b/NextcloudBackup.sh @@ -48,7 +48,7 @@ webserverServiceName='nginx' # TODO: Your web server user webserverUser='www-data' -# TODO: The name of the database system (ome of: mysql, mariadb, postgresql) +# TODO: The name of the database system (one of: mysql, mariadb, postgresql) databaseSystem='mariadb' # TODO: Your Nextcloud database name @@ -63,7 +63,7 @@ dbPassword='mYpAsSw0rd' # TODO: The maximum number of backups to keep (when set to 0, all backups are kept) maxNrOfBackups=0 -# TODO: Ignore updater's backup directory in the data directory to safe space +# TODO: Ignore updater's backup directory in the data directory to save space # Set to true to ignore the backup directory ignoreUpdaterBackups=false @@ -199,7 +199,7 @@ elif [ "${databaseSystem,,}" = "postgresql" ]; then echo "Backup Nextcloud database (PostgreSQL)..." if ! [ -x "$(command -v pg_dump)" ]; then - errorecho "ERROR:PostgreSQL not installed (command pg_dump not found)." + errorecho "ERROR: PostgreSQL not installed (command pg_dump not found)." errorecho "ERROR: No backup of database possible!" else PGPASSWORD="${dbPassword}" pg_dump "${nextcloudDatabase}" -h localhost -U "${dbUser}" -f "${backupdir}/${fileNameBackupDb}" diff --git a/NextcloudRestore.sh b/NextcloudRestore.sh index 6a4fcae..6f983fb 100644 --- a/NextcloudRestore.sh +++ b/NextcloudRestore.sh @@ -48,7 +48,7 @@ webserverServiceName='nginx' # TODO: Your web server user webserverUser='www-data' -# TODO: The name of the database system (ome of: mysql, mariadb, postgresql) +# TODO: The name of the database system (one of: mysql, mariadb, postgresql) databaseSystem='mariadb' # TODO: Your Nextcloud database name @@ -244,7 +244,7 @@ echo "Done" echo # -# Update the system data-fingerprint (see https://docs.nextcloud.com/server/16/admin_manual/configuration_server/occ_command.html#maintenance-commands-label) +# Update the system data-fingerprint (see https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#maintenance-commands-label) # echo "Updating the system data-fingerprint..." sudo -u "${webserverUser}" php ${nextcloudFileDir}/occ maintenance:data-fingerprint