bug6021: dump base dir for archiveDb.sh no longer under /mnt/mongodb-slow

This commit is contained in:
Axel Uhl committed 2024-07-22 09:43:01 +02:00
1 parent 0a4264e6ae
commit a6f57bc48d
1 file changed
+3 -2
@@ -12,7 +12,8 @@ else
fi
DB=$1
DUMPBASEDIR=/mnt/mongodb-slow
DUMPBASEDIR=/var/lib/mongodb/slow/.dump
mkdir -p "${DUMPBASEDIR}"
if [ "$CONFIRMATION" = "" ]; then
echo -n "This will drop the database $DB in the archive DB before importing. Are you sure (y/n)? "
@@ -44,4 +45,4 @@ else
echo "Hashes of old and new are empty of differ: ${ORIGINAL_HASH} and ${ARCHIVE_HASH}"
exit 1
fi
rm -rf ${DUMPBASEDIR}"