X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Flevel-0;h=bcf886df3ed9d9d44b1b58f2689ba584efdd4781;hb=63f2f45b88e84d2a8d414da0ae81ffe58fda7cb4;hp=a693ef75e4ef1a45d5531491d065aeeb85540c42;hpb=10b4901399a867671f09cf2dbf4316a71ccc5fbc;p=chaz%2Ftar diff --git a/scripts/level-0 b/scripts/level-0 index a693ef7..bcf886d 100644 --- a/scripts/level-0 +++ b/scripts/level-0 @@ -66,9 +66,10 @@ startdate="`date`" here="`pwd`" # Logfile name should be in the form ``log-1993-03-18-level-0'' +# They go in the subdirectory `log' of the current directory. # i.e. year-month-date. This format is useful for sorting by name, since # logfiles are intentionally kept online for future reference. -LOGFILE="log-`date | sed -ne ' +LOGFILE="log/log-`date | sed -ne ' s/[^ ]* *\([^ ]*\) *\([^ ]*\).* \([^ ]*\)$/\3-\1-\2/ /-[0-9]$/s/\([0-9]\)$/0\1/ /Jan/{s/Jan/01/p;q;} @@ -86,7 +87,7 @@ LOGFILE="log-`date | sed -ne ' localhost="`hostname | sed -e 's/\..*//'`" -TAR_PART1="${TAR} -c --multi-volume --one-file-system --block=${BLOCKING} --sparse --volno-file=${VOLNO_FILE}" +TAR_PART1="${TAR} -c --multi-volume --one-file-system --block-size=${BLOCKING} --sparse --volno-file=${VOLNO_FILE}" # Only use --info-script if DUMP_REMIND_SCRIPT was defined in backup-specs if [ "x${DUMP_REMIND_SCRIPT}" != "x" ]; then