Updated stamps in backup names

This commit is contained in:
Pavel Dmitriev 2021-12-12 14:19:30 +03:00 committed by GitHub
parent 8044093efc
commit 9309c372bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ DIRECTORY=`dirname "$ABSOLUTE_FILENAME"`
source ${DIRECTORY}/config
uuid=`uuid`
stamp=`date +"%Y%m%d-%H%M%S-I"`
stamp=`date +%s`-`date +"%Y%m%d-%H%M%S-I"`
do_full=""
do_quet=0
@ -27,7 +27,7 @@ then
echo "Full backup started"
fi
stamp=`date +"%Y%m%d-%H%M%S-F"`
stamp=`date +%s`-`date +"%Y%m%d-%H%M%S-F"`
rm -f ${prefix}/incremental/*
fi