diff --git a/rsync-nextcloud/rsync-nextcloud.sh b/rsync-nextcloud/rsync-nextcloud.sh index cea5081..f2dbd0d 100755 --- a/rsync-nextcloud/rsync-nextcloud.sh +++ b/rsync-nextcloud/rsync-nextcloud.sh @@ -59,7 +59,7 @@ cd $DEST_PATH_DB # kick off DB dumping curl --insecure https://rob.spaceboyz.net/backup_all_databases_cMxNrCTVLBPrNo6qaonojeejCvCepekwssh/dump_all_databases.php # download DB dumps -wget --no-check-certificate https://rob.spaceboyz.net/backup_all_databases_cMxNrCTVLBPrNo6qaonojeejCvCepekwssh/dumps.zip +curl --insecure --silent https://rob.spaceboyz.net/backup_all_databases_cMxNrCTVLBPrNo6qaonojeejCvCepekwssh/dumps.zip > dumps.zip if [ -f dumps.zip ] then today=`date +%F` @@ -67,4 +67,3 @@ then else echo "Datenbank Dump konnte nicht herunter geladen werden" fi -