exit 1
fi
-# if clause to be comented before final use
-#if test -d $DIR_ARCHIVE/temp; then
-# echo -e "Skipping extraction...\n"
-#else
-
# remove temp folder in case it exists
rm -Rf $DIR_ARCHIVE/temp
tar --transform='s,^,temp/,' -xzf "$ARCHIVE"
echo -e "Archive extracted successfully.\n"
popd
-#fi
-
-# create database
-pushd $DIR_LOCAL/../../db-mysql
-$DIR_LOCAL/../../db-mysql/db_init $DB_NAME
-
-#fill database with test data
-PYTHONPATH=$DIR_LOCAL/../../db-mysql/ python DatabaseAccess.py $DB_NAME
-popd
# fill logging information
echo -e "Parsing log files. \n"