diff --git a/localdump.sh b/localdump.sh
index bbdbc4cb3c3b75f29d2618cddcf34ab6b276844c..ea0f7327cdcf9ee8272d28c063a63b3fbe6393a4 100755
--- a/localdump.sh
+++ b/localdump.sh
@@ -551,6 +551,11 @@ EOH
             h2 "Select a specific dump for that database"
             showSelectAndInput "$(listBackupedDBs $fileprefix)" "Backupset to import"
             dbfile="$LASTINPUT"
+
+            # if there is a single dump in backup folder: 
+            # '-rw-r--r-- 1 root root 481 Mar 13 12:27 ahcrawler__20240313-1227.sql.gz'
+            # --> take the last part behind the last space to get a filename
+            grep "^-[rwxsSt\-]* " <<< "$LASTINPUT" && dbfile="$(rev <<< \'"$LASTINPUT"\' | cut -d ' ' -f 1 | rev)"
             echo
   
             sTargetDb=$(guessDB ${dbfile})