Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #8 from searchify/master

Fixing path to raw logs in backup.sh
  • Loading branch information...
commit 1b3f5079b10fcde2cb14d5de5105acd9704e5562 2 parents d1941be + 62244c6
@santip santip authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 storage/backup.sh
View
5 storage/backup.sh
@@ -4,8 +4,9 @@
while true; do
echo starting sync at `/bin/date`
- ionice -c 2 -n 5 rsync -av --append-verify --delete /data/storage/live /archive/
- ionice -c 2 -n 5 rsync -av --append-verify /data/storage/history /archive/
+ ionice -c 2 -n 5 rsync -av --append-verify --delete /data/storage/raw/live /archive/
+ # we don't use --delete with /data/storage/raw/history so we can safely remove old logs from there
+ ionice -c 2 -n 5 rsync -av --append-verify /data/storage/raw/history /archive/
echo finished sync at `/bin/date`
sleep 2
done
Please sign in to comment.
Something went wrong with that request. Please try again.