Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 10 lines (6 sloc) 0.364 kB
#!/bin/zsh
DESTINATION=/home/thib/balrog/
ssh balrog "nice -n 19 rsync --archive --force --delete --progress --exclude='mongodb/journal/prealloc.*' /home/mongodb /home/backup/"
for SOURCE in /home/backup/mongodb /etc; do
nice -n 19 rsync --archive --force --delete --progress --exclude='mongodb/journal/prealloc.*' --compress balrog:$SOURCE $DESTINATION
done
Jump to Line
Something went wrong with that request. Please try again.