outdoorbits / little-backup-box

This software turns a single-board computer into a versatile, pocket-sized backup solution. Especially for digital photography, this is the solution for backing up images and media files on mass storage devices when traveling or at events. Media content can be viewed and rated for the subsequent process.
http://littlebackupbox.com
GNU General Public License v3.0
510 stars 103 forks source link

Do file systems affect functionality? #35

Closed sallan84 closed 6 years ago

sallan84 commented 6 years ago

I am using an sd card through a card reader and fat32 formatted usb stick, but not having any luck getting this to work. I have checked the SDA assignments and it seems the USB card is always mounted as SDA1 but the SD card is mounted as either SDC1 or SDD1, which of course renders the code inoperable. I've tested this a lot and getting the same problems.

Any help greatly appreciated, I really want to get this up and running!

sallan84 commented 6 years ago

I am not familiar with Raspbian coding but is there any way to modify the code to look for the next mounted drive instead of the specific SDA assign? Then, as long as you mount the drives in order it should work every time no matter where they are assigned to?

dmpop commented 6 years ago

LIttle Backup Box works with FAT32, exFAT, NTFS, and all popular Linux filesystems. OK, in case the USB stick is mounted as SDA1 and the SD card is mounted as SDC1, open the card-backup.sh script and edit the line:

CARD_DEV="sdb1" # Name of the storage card

as follows:

CARD_DEV="sdc1" # Name of the storage card

This should do the trick. Also, are you using Raspbian Lite or regular Raspbian with the Pixel desktop?

sallan84 commented 6 years ago

I am using raspbian with the pixel desktop. I meant that in one instance, the card mounts ad Sdc1, then the next try after rebooting and starting the process again, it mounts as SDD1, and it is inconsistent, is this to do with using the pixel desktop? Sorry to ask so many questions! !

dmpop commented 6 years ago

Ah, that explains it! You should use Rasbian Lite. It comes without a desktop environment, and it mounts storage devices where Little Backup Box expects them. I need to update the README file to reflect that.

sallan84 commented 6 years ago

Ahh amazing!! I will do that!!