04. Setup - outdoorbits/little-backup-box GitHub Wiki

Settings

Language

Select your prefered langauge. This effects both, the web UI and the display-messages of the box. It you select "Browser detect" you display-language will be English.

Backup

Default backup mode

Select the default backup-mode. This will be automatically started after boot.

Directories to be backuped from smartphones and cameras

Connecting cameras via USB (maybe you have to switch on your camera) will most probably be uncomplicated and run out of the box.
Smartphones can cause a bit more of trouble.

How to enable PTP (Picture Transfer Protocol) or MTP (Media Transfer Protocol) on android-devices

Android-devices need some Developer options to be set. At first, activate the Developer options menu:

  1. Navigate to Settings - About phone - Software information
  2. Tap the Build number seven times to enable Settings - Developer options
Now your smartphones Settings menu got a new item: Developer options. Here we have to ensure the following settings:
  1. Navigate to Settings - Developer options
  2. Activate USB-debugging
  3. Enable Stay awake (Screen will never sleep while charging), else the transfer could break and you'll find empty files later!
  4. Set Default USB configuration to PTP: Transferring images or MTP: Transferring files / Android Auto.

In some cases, after you connected your phone, it might still ask you to allow to use the connection. Some phones also will give a notification and ask how to use USB. Please select "Transfer images".

Setup lbb for your smartphone

In case of smartphones in particular, usualy there are many folders - containing mostly irrelevant images. Scanning a lot of folders can take a huge amount of time, depending on your device maybe half an hour or more! That's why there is a much faster way: Have a look further down at "Use absoulte paths".
Often, captured photos are stored in a folder named "DCIM".
The entries here have the form:
"CAMERA:PATH"
The name of a connected camera can be found on the page "System" at "Camera/Smartphone". This designation must be used correctly and without leading or trailing spaces. In the example below, this is "MyCamera".
If an instruction is to apply to all cameras, "*" (without further additions) can be used as a joker for all devices.

Find paths by pattern (not recommended for regular use, can take several minutes!)

The path does not have to be specified in full. It is enough to use a significant part of it.
Instead of
"CAMERA:/storage00010001/DCIM" it's enough, just
"DCIM"
to be specified.

Further entries are separated from each other by new line or ";".

Example 1:
For all cameras, all folders (and their sub-folders) the name contains "DCIM", should be backed up:
"*:DCIM"

Example 2:
In addition, for "MyCamera" all folders (and their subfolders) the name contains "IMAGES" , should be backed up:
"*:DCIM;MyCamera:IMAGES"

Example 3:
All folders (and their subfolders) should be backed up for all cameras:
"" (Field remains empty.)

Use absoulte paths (faster)

Instead of searching for a pattern, absolute paths can also be specified. These must always start with "!/":
"MyCamera:!/store_00020002/DCIM"
As soon as an absolute folder applies to a device, there is no longer a search for a pattern for it. This might save a lot of time.

To setup absolute-path-backup for your device, follow this steps:

The easy but slow way
  1. Boot your Little Backup Box.
  2. Temporarily change this "Settings":
    1. Into the BACKUP-Section: Uncheck "Power down after backup".
    2. Into the BEHAVIOR-Section: Set "Power down after idle-time" to "never"
  3. Run a camera-backup of your device. Depending on your device and its number of folders, this can take half an hour and more!
  4. Have a look at your LOG MONITOR and wait for "Backup complete. Do not unplug!"
  5. Click on "Download" to download the logfile.
  6. Open the Logfile.
  7. Search for "For use as pattern in Setting" (or just search for "***"), e.g.
    12:42:14 *** - /store_00010001/DCIM - For use as pattern in Settings ('Directories to be backed up on smartphones and cameras'): 'SM-A202F:!/store_00010001/DCIM'"
  8. Here you get your entry for your camera and folder: In our example "SM-A202F:!/store_00010001/DCIM"
  9. In your logfile, search for every folder you want to backup on this device. Add all this patterns to Settings - BACKUP - "Directories to be backed up on smartphones and cameras", always seperated by ";"
  10. Restore your settings from above
  11. Test it!

When you use the "Find paths by pattern" of this, in the logging you will find the patterns for your camera and folders. Click on "Download" below the Log Monitor and search for "For use as pattern in Settings". You can copy the suggested definitions and paste them into the Settings-field.

The quick way
  1. Connect your camera/smartphone
  2. Navigate to "System"-tab.
  3. Below "Camera / smartphone" you will find the camera-identifier (e.g. "SM-A202F")
  4. Below "Storage paths" you find a list of the storage devices.
The list of the storage devices may contain something like this: "/store_00010001" and "/store_00020001". This are the storage-devices of your camera/smartphone. In this example of a smartphone "/store_00010001" represents the internal storage while "/store_00020001" points to the sd-card. If you would backup the folders "/DCIM" on both storage devices, you would combine this to
  1. "SM-A202F:!/store_00010001/DCIM"
  2. "SM-A202F:!/store_00020001/DCIM"
Finally your setup-entry would be "SM-A202F:!/store_00010001/DCIM;SM-A202F:!/store_00020001/DCIM" or better "*:DCIM;SM-A202F:!/store_00010001/DCIM;SM-A202F:!/store_00020001/DCIM"
⚠️ **GitHub.com Fallback** ⚠️