X-Git-Url: https://git.p6c8.net/nextcloud-backup-restore.git/blobdiff_plain/5e5f3ae863e50867b807550d9468db64d546098c..806b67d754ba6a88b04cf286054fe9e9808079cc:/NextcloudRestore.sh diff --git a/NextcloudRestore.sh b/NextcloudRestore.sh index b2feb9f..78b624b 100644 --- a/NextcloudRestore.sh +++ b/NextcloudRestore.sh @@ -2,7 +2,7 @@ # # Bash script for restoring backups of Nextcloud. -# Usage: ./NextcloudRestor.sh (e.g. ./NextcloudRestor.sh 20170910_132703) +# Usage: ./NextcloudRestore.sh (e.g. ./NextcloudRestore.sh 20170910_132703) # # The script is based on an installation of Nextcloud using nginx and MariaDB, see https://decatec.de/home-server/nextcloud-auf-ubuntu-server-mit-nginx-mariadb-php-lets-encrypt-redis-und-fail2ban/ # @@ -21,6 +21,7 @@ currentRestoreDir="${mainBackupdir}/${restore}" # TODO: The directory of your Nextcloud installation (this is a directory under your web root) nextcloudFileDir="/var/www/nextcloud" # TODO: The directory of your Nextcloud data directory (outside the Nextcloud file directory) +# If your data directory is located under Nextcloud's file directory (somewhere in the web root), the data directory should not be restored separately nextcloudDataDir="/var/nextcloud_data" # TODO: Your Nextcloud database name nextcloudDatabase="nextcloud_db"