Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
Fixing path to raw storage logs in backup script
Browse files Browse the repository at this point in the history
  • Loading branch information
clamprecht committed Feb 12, 2012
1 parent e8770f5 commit 62244c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions storage/backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 62244c6

Please sign in to comment.