diff --git a/README.md b/README.md index c68bd7e..ccc69cd 100644 --- a/README.md +++ b/README.md @@ -61,9 +61,9 @@ Follow the instructions corresponding to the OS you used to flash the OS onto th Whichever instructions you followed above will leave you in a command shell on the Pi. Use this shell for the rest of the steps in these instructions. ### Set up the archive for dashcam clips -Follow the instructions corresponding to the technology you'd like to use to host the archive for your dashcam clips. You must choose just one of these technoloies; don't follow more than one of these sets of instructions: +Follow the instructions corresponding to the technology you'd like to use to host the archive for your dashcam clips. You must choose just one of these technologies; don't follow more than one of these sets of instructions: * Windows file share, MacOS Sharing, or Samba on Linux: [Instructions](doc/SetupShare.md). -* SFTP/rsync: [Instructions](doc/SetupRsync.md) +* SFTP/rsync: [Instructions](doc/SetupRSync.md) * **Experimental:** Google Drive, Amazon S3, DropBox, Microsoft OneDrive: [Instructions](doc/SetupRClone.md) ### Set up the USB storage functionality diff --git a/run/archiveloop b/run/archiveloop index 9b8674f..81b313a 100644 --- a/run/archiveloop +++ b/run/archiveloop @@ -159,7 +159,7 @@ function wait_for_archive_to_be_unreachable () { log "Waiting for archive to be unreachable..." while [ true ] do - if ! archive_is_reachable + if ! retry archive_is_reachable then log "Archive is unreachable." break diff --git a/run/rsync_archive/archive-clips.sh b/run/rsync_archive/archive-clips.sh index 29f5a55..a87369f 100644 --- a/run/rsync_archive/archive-clips.sh +++ b/run/rsync_archive/archive-clips.sh @@ -4,7 +4,7 @@ log "Archiving through rsync..." source /root/.teslaCamRsyncConfig -num_files_moved=$(rsync -auvh --stats --log-file=/tmp/archive-rsync-cmd.log /mnt/cam/TeslaCam/saved* $user@$server:$path | awk '/files transferred/{print $NF}') +num_files_moved=$(rsync -auzvh --no-perms --stats --log-file=/tmp/archive-rsync-cmd.log /mnt/cam/TeslaCam/saved* $user@$server:$path | awk '/files transferred/{print $NF}') /root/bin/send-pushover "$num_files_moved"