Permalink
Browse files

Reduce lock file removal down to localhost subdir

  • Loading branch information...
pcammish committed Aug 20, 2018
1 parent 9d15c61 commit c98797a3166304038ead832c96b10cf273c8124e
Showing with 1 addition and 1 deletion.
  1. +1 −1 backup/backup.d/post-backup.d/99-upload-backup
@@ -72,7 +72,7 @@ end
#
puts "Sending backups to #{dest}...\n"

puts `rsync --bwlimit=768 --delete-before --delete-excluded --exclude 'localhost/TMP.*' --exclude '*.lock' --quiet --archive --recursive --perms --no-owner --no-group --human-readable #{src} #{dest}`
puts `rsync --bwlimit=768 --delete-before --delete-excluded --exclude 'localhost/TMP.*' --exclude 'localhost/*.lock' --quiet --archive --recursive --perms --no-owner --no-group --human-readable #{src} #{dest}`

#
# Exit with the exit status of the rsync command

0 comments on commit c98797a

Please sign in to comment.