Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing path to raw storage logs in backup script

  • Loading branch information...
commit 62244c6fdbefc61eae48cffefde01fadf7a2baa8 1 parent e8770f5
@clamprecht clamprecht authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 storage/
5 storage/
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.