Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Timothy Frew
Sympl
Commits
cf57fe77
Commit
cf57fe77
authored
Aug 20, 2018
by
Paul Cammish
Browse files
Prevent backup2l post-backup syncing .lock files
parent
3d8c3dfe
Changes
2
Hide whitespace changes
Inline
Side-by-side
backup/backup.d/post-backup.d/99-upload-backup
View file @
cf57fe77
...
...
@@ -72,7 +72,7 @@ end
#
puts
"Sending backups to
#{
dest
}
...
\n
"
puts
`rsync --bwlimit=768 --delete-before --delete-excluded --exclude 'localhost/TMP.*' --quiet --archive --recursive --perms --no-owner --no-group --human-readable
#{
src
}
#{
dest
}
`
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
}
`
#
# Exit with the exit status of the rsync command
...
...
backup/debian/changelog
View file @
cf57fe77
symbiosis-backup (2018:0730) stable; urgency=medium
symbiosis-backup (2018:0831) stable; urgency=medium
* Prevented *.lock from being synced to backup space.
-- Paul Cammish <paul.cammish@bytemark.co.uk> Mon, 20 Aug 2018 12:08:00 +0100
symbiosis-backup (2018:0830) stable; urgency=medium
* Removed output when not finding deprecated Bytemark backup space.
* Added jobs to temporarily move lock file when doing space estimation.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment