SNARFILE="${storagedir}/${computer}/${sfilesystem}/.incremental.snar"
incrementalsnar="/root/.backup/${sfilesystem}.snar"
- if [ "$backuplevel" = "daglig" ]
- then
+ if [ "$backuplevel" = "daglig" ]; then
# If incremental backup, we need to copy the incremental status to $computer.
# If it does not exist, whine a bit and then run date-based instead.
if [ -s "$SNARFILE" ]; then
# Default backuplevel
backuplevel=daglig
- if [ ! -s $storagedir/$computer/$sfilesystem/.date ]
- then
+ if [ ! -s $storagedir/$computer/$sfilesystem/.date ]; then
# Take the first full backup of this filesystem on this computer
backuplevel=full
fi