Commit 126d93dd authored by Per Jonsson's avatar Per Jonsson Committed by Per Cederqvist
Browse files

Minor fix in status the first time a task is backed up.

* backup-one-task: Do not run pruneing step the first time a task
  is run. This removes an incorrect warning for task.
parent 7134b710
2009-10-25 Per Jonsson <poj@minerva.lkpg.dravejk.net>
2009-10-25 Per Jonsson <poj@lysator.liu.se>
Minor fix in status the first time a task is backed up.
* backup-one-task: Do not run pruneing step the first time a task
is run. This removes an incorrect warning for task.
2009-10-25 Per Jonsson <poj@lysator.liu.se>
Updated the config for Lysator
* fetch-backup-work: Remove backups of lenin and kilauea. Fetch
......
......@@ -138,16 +138,19 @@ then
then
AGE=`cat "$age"`
fi
echo -ne "${CLR}${msg}: removing increments older than $AGE"
$ss --status $disk $part "${msg}: removing increments older than $AGE"
/opt/LYSrdiff/bin/rdiff-backup \
--remove-older-than $AGE \
--null-separator \
--force \
-v 2 \
"$files" > "$rdiffcleanlogfile" 2>&1
if [ -d "$files" ]
then
echo -ne "${CLR}${msg}: removing increments older than $AGE"
$ss --status $disk $part "${msg}: removing increments older than $AGE"
/opt/LYSrdiff/bin/rdiff-backup \
--remove-older-than $AGE \
--null-separator \
--force \
-v 2 \
"$files" > "$rdiffcleanlogfile" 2>&1
fi
fi
if [ $only_prune = 1 ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment