Find the answer to your Linux question:
Results 1 to 3 of 3
I am using Cron for nightly backups to a usb device. I was just wondering in my script for the backup, how do I find the location of my usb ...
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    3

    Location of USB device for backup

    I am using Cron for nightly backups to a usb device. I was just wondering in my script for the backup, how do I find the location of my usb device.

  2. #2
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,229
    Quote Originally Posted by beeson76 View Post
    ...how do I find the location of my usb device.

    Hello,

    Is this what you were trying to find?

    Code:
    $ ls /media
    nujinini
    Linux User #489667

  3. #3
    Linux User sgosnell's Avatar
    Join Date
    Oct 2010
    Location
    Baja Oklahoma
    Posts
    358
    Or "sudo fdisk -l" Depends on how you're doing the backup. You may want /dev/sdb, or you may want /media/my_usb_drive, or some variation of those, depending on your system and what you're using for the backup.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...