This commit is contained in:
2022-12-14 14:32:46 +07:00
parent e2ddb3348a
commit 8eecd7d41e
2 changed files with 15 additions and 13 deletions
+10 -11
View File
@@ -35,17 +35,16 @@ case $DBTYPE in
;;
esac
# case $STORAGE_TYPE in
# s3)
# log "Storage type is <s3>"
# source storage/s3.sh
# ;;
# *)
# log_error "Unknown storage, known <s3>"
# exit 1
# ;;
# esac
STORAGE_TYPE=s3
case $STORAGE_TYPE in
s3)
log "Storage type is <s3>"
source storage/s3.sh
;;
*)
log_error "Unknown storage, known <s3>"
exit 1
;;
esac
TIME=`date +%Y-%m-%d-%H-%M`
ARCHIVE="/srv/backup/""$PROJECT_NAME"_$TIME".$EXT_DB"