From: DecaTec Date: Mon, 11 Sep 2017 07:24:02 +0000 (+0200) Subject: Hint when the data dir is located under the file dir X-Git-Tag: v1.0.0~33 X-Git-Url: https://git.p6c8.net/nextcloud-backup-restore.git/commitdiff_plain/9fe0795842dc01e3adc598539640bdea93b98ebc?ds=sidebyside;hp=--cc Hint when the data dir is located under the file dir --- 9fe0795842dc01e3adc598539640bdea93b98ebc diff --git a/NextcloudBackup.sh b/NextcloudBackup.sh index c038f33..ace78d8 100644 --- a/NextcloudBackup.sh +++ b/NextcloudBackup.sh @@ -22,6 +22,7 @@ backupdir="${backupMainDir}/${currentDate}/" # 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 a separate part of the backup nextcloudDataDir="/var/nextcloud_data" # TODO: Your Nextcloud database name nextcloudDatabase="nextcloud_db"