download a database in an external hard drive or a USB key

tima se

New Member
Joined
Aug 13, 2021
Messages
3
Reaction score
0
Credits
24
Hi everyone :)
I need to download a database and I do not have enough space on my computer I want to download it on an external hard drive or a USB key how to do this from the linux command line ??
thanks in advance !
 


Mount the hard drive and then create a database dump to that mount location of whatever database suite you are using.
 
Mount the hard drive and then create a database dump to that mount location of whatever database suite you are using.
1-Mont the hard drive with the command line : udisksctl mount -b /dev/sdb1
I have this error:
Error mounting /dev/sdb1: GDBus.Error:eek:rg.freedesktop.UDisks2.Error.AlreadyMounted: Device /dev/sdb1 is already mounted at `/media/timase/Seagate Expansion Drive'.

how can I fix it please ?!!
 
With your external drive plugged in, run the following and share the output.
Code:
lsblk
But look at that output your drive is already mounted on '/media/timase/Seagate Expansion Drive'.
 
Last edited:
Capture d’écran de 2021-08-13 14-16-23.png
 
You can try unmounting it and then remounting it elsewhere.
Code:
sudo umount "/media/feriel/Seagate Expansion Drive"
sudo mount /dev/sdb1 /mnt
Or you can just leave it mounted where it currently is and the browse to that path and then do your database dump there.
 

Members online


Top