Update README.md
This commit is contained in:
39
README.md
39
README.md
@@ -1,6 +1,6 @@
|
|||||||
# Little Backup Box
|
# Little Backup Box
|
||||||
|
|
||||||
Bash shell scripts that transform a Raspberry Pi (or any single-board computer running a Debian-based Linux distribution) into an inexpensive, fully-automatic, pocketable photo backup and streaming device.
|
Bash shell scripts that transform a Raspberry Pi (or any single-board computer running a Debian-based Linux distribution) into an inexpensive, fully-automatic, pocketable photo backup device.
|
||||||
|
|
||||||
<img src="https://i.imgur.com/OQ3AQfM.jpg" alt="" width="375"/>
|
<img src="https://i.imgur.com/OQ3AQfM.jpg" alt="" width="375"/>
|
||||||
|
|
||||||
@@ -12,24 +12,22 @@ Run the following command on the Raspberry Pi:
|
|||||||
|
|
||||||
curl -sSL https://goo.gl/btmpKd | bash
|
curl -sSL https://goo.gl/btmpKd | bash
|
||||||
|
|
||||||
|
Little Backup Box supports three backup modes:
|
||||||
|
|
||||||
|
- **Card backup** Automatically backs up the contents of a storage card to an external storage device.
|
||||||
|
- **Camera backup** Transfers photos, raw files, and videos from the camera connected directly to the Raspberry Pi. The transferred files are saved in the */home/pi/[CAMERA MODEL]* directory on the system storage card. **Important** Make sure that the camera is set to the **MTP** USB connection mode.
|
||||||
|
- **Web UI** Simple web interface that allows you to manually choose one of the two modes described above.
|
||||||
|
|
||||||
|
During the installation, choose the desired mode from the selection dialog.
|
||||||
|
|
||||||
|
<img src="installer.png" alt="" width="600"/>
|
||||||
|
|
||||||
When prompted, reboot the Raspberry Pi.
|
When prompted, reboot the Raspberry Pi.
|
||||||
|
|
||||||
By default, Little Backup Box is configured to back up storage cards. To make the script transfer files directly from the connected camera, run the `crontab -e` command on Raspberry Pi. Comment the following line by prepending *#* to it:
|
|
||||||
|
|
||||||
@reboot sudo /home/pi/little-backup-box/backup.sh
|
|
||||||
|
|
||||||
Uncomment then the line below by removing *#*:
|
|
||||||
|
|
||||||
#@reboot sudo /home/pi/little-backup-box/gphoto-backup.sh
|
|
||||||
|
|
||||||
Save the changes.
|
|
||||||
|
|
||||||
Keep in mind that in this case, the transferred files are saved in the */home/pi/[CAMERA MODEL]* directory on the system storage card. Make sure that the card you use with Raspberry Pi has adequate storage capacity.
|
|
||||||
|
|
||||||
**Important** Make sure that the camera is set to the MTP USB connection mode.
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
In the card backup mode:
|
||||||
|
|
||||||
1. Boot the Raspberry Pi
|
1. Boot the Raspberry Pi
|
||||||
2. Plug in the backup storage device (or camera, if you configured Little Backup Box as described above)
|
2. Plug in the backup storage device (or camera, if you configured Little Backup Box as described above)
|
||||||
3. Plug in the card reader and wait till the Raspberry Pi shuts down
|
3. Plug in the card reader and wait till the Raspberry Pi shuts down
|
||||||
@@ -38,7 +36,9 @@ To geocorrelate the backed up photos, place a GPX file in the root of the storag
|
|||||||
|
|
||||||
**Note:** To differentiate between different storage cards, the backup script creates a datetime-based *.id* file in the root of each storage card. The name of the *.id* file is also used as the destination backup folder on the storage device.
|
**Note:** To differentiate between different storage cards, the backup script creates a datetime-based *.id* file in the root of each storage card. The name of the *.id* file is also used as the destination backup folder on the storage device.
|
||||||
|
|
||||||
With the direct camera transfer script enabled, follow this steps:
|
With the direct camera transfer script enabled, follow the steps described below.
|
||||||
|
|
||||||
|
In the camera backup mode:
|
||||||
|
|
||||||
1. Boot the Raspberry Pi
|
1. Boot the Raspberry Pi
|
||||||
2. Connect the camera to the Raspberry Pi
|
2. Connect the camera to the Raspberry Pi
|
||||||
@@ -46,6 +46,13 @@ With the direct camera transfer script enabled, follow this steps:
|
|||||||
|
|
||||||
Note that the direct camera file transfer script doesn't support geocorrelation.
|
Note that the direct camera file transfer script doesn't support geocorrelation.
|
||||||
|
|
||||||
|
In the Web UI mode:
|
||||||
|
|
||||||
|
1. Point the browser to *http://[IP-ADDRESS]:8080* (replace *[IP-ADDRESS]* with the actual IP address of the Raspberry Pi)
|
||||||
|
2. Start the desired backup mode by pressing the appropriate button.
|
||||||
|
|
||||||
|
<img src="webui.png" alt="" width="375"/>
|
||||||
|
|
||||||
## Problems?
|
## Problems?
|
||||||
|
|
||||||
Please report bugs and issues in the [Issues](https://github.com/dmpop/little-backup-box/issues) section.
|
Please report bugs and issues in the [Issues](https://github.com/dmpop/little-backup-box/issues) section.
|
||||||
|
|||||||
BIN
installer.png
Normal file
BIN
installer.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
Reference in New Issue
Block a user