X-Git-Url: https://git.p6c8.net/nextcloud-backup-restore.git/blobdiff_plain/e7157ba0a3afd98929faca45928e6ad9376ec41b..HEAD:/setup.sh?ds=sidebyside diff --git a/setup.sh b/setup.sh index ed29c3e..2f384ba 100755 --- a/setup.sh +++ b/setup.sh @@ -3,7 +3,7 @@ # # Bash script an easy setup of NextcloudBackup.sh and NextcloudRestore.sh # -# Version 2.3.0 +# Version 2.3.3 # # Usage: # - call the setup.sh script @@ -104,8 +104,8 @@ echo "Modifying NextcloudBackup.sh and NextcloudRestore.sh to match your install echo "" # Backup main dir -sed -i "s@^ backupMainDir.*@ backupMainDir='$backupMainDir'@" ./NextcloudBackup.sh -sed -i "s@^ backupMainDir.*@ backupMainDir='$backupMainDir'@" ./NextcloudRestore.sh +sed -i "s@^\tbackupMainDir='/media/hdd/nextcloud_backup'@\tbackupMainDir='$backupMainDir'@" ./NextcloudBackup.sh +sed -i "s@^\tbackupMainDir='/media/hdd/nextcloud_backup'@\tbackupMainDir='$backupMainDir'@" ./NextcloudRestore.sh # Nextcloud file dir sed -i "s@^nextcloudFileDir.*@nextcloudFileDir='$nextcloudFileDir'@" ./NextcloudBackup.sh @@ -160,4 +160,6 @@ echo "" echo "" echo "IMPORTANT: Please check NextcloudBackup.sh and NextcloudRestore.sh if all variables were set correctly BEFORE running these scripts!" echo "" +echo "When using pigz compression, you also have to install pigz (e.g. for Debian/Ubuntu: apt install pigz)" +echo "" echo "" \ No newline at end of file