mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-15 06:49:56 +00:00
bug6021: dump base dir for archiveDb.sh no longer under /mnt/mongodb-slow
This commit is contained in:
1 parent
0a4264e6ae
commit
a6f57bc48d
1 file changed
+3
-2
+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}"
|
||||
Reference in new issue
Block a user