Dmitri Popov 47b4c4ee12 Squashed commit of the following:
commit a2c130b657
Author: Dmitri Popov <dmpop@linux.com>
Date:   Tue Jan 30 19:15:43 2018 +0100

    Minor tweak

commit 257a327656
Author: Dmitri Popov <dmpop@linux.com>
Date:   Tue Jan 30 19:09:24 2018 +0100

    Fix -ext

commit b2e5b1ceec
Author: Dmitri Popov <dmpop@linux.com>
Date:   Tue Jan 30 15:28:24 2018 +0100

    Update README.md

commit 5e35563156
Author: Dmitri Popov <dmpop@linux.com>
Date:   Tue Jan 30 15:03:04 2018 +0100

    Comment options. Shutdown time as variable

commit 36386b00d8
Author: Dmitri Popov <dmpop@linux.com>
Date:   Tue Jan 30 14:58:12 2018 +0100

    Add geotagging

commit 59390b24ee
Author: Dmitri Popov <dmpop@linux.com>
Date:   Tue Jan 30 14:55:41 2018 +0100

    Delete config.cfg

commit 59fa6d0ced
Author: Dmitri Popov <dmpop@linux.com>
Date:   Tue Jan 30 14:51:11 2018 +0100

    Update config.cfg

commit 04feb7c260
Author: Dmitri Popov <dmpop@linux.com>
Date:   Mon Jan 29 15:45:55 2018 +0100

    Remove mount share. Add config

commit 1d84ece06b
Author: Dmitri Popov <dmpop@linux.com>
Date:   Mon Jan 29 15:43:58 2018 +0100

    Create config.cfg

commit 47ad5850cc
Author: Dmitri Popov <dmpop@linux.com>
Date:   Fri Jan 26 15:18:21 2018 +0100

    Replace NFS with SHARE

commit 1c2259d7e6
Author: Dmitri Popov <dmpop@linux.com>
Date:   Fri Jan 26 14:38:31 2018 +0100

    Add NFS mount and backup

commit e37bc58168
Author: Dmitri Popov <dmpop@linux.com>
Date:   Fri Jan 26 13:20:17 2018 +0100

    Add inactivity shutdown

commit d759ac4e59
Author: Dmitri Popov <dmpop@linux.com>
Date:   Sat Jan 13 18:22:09 2018 +0100

    Fix card id 🐒

commit c0ede01f95
Author: Dmitri Popov <dmpop@linux.com>
Date:   Sat Jan 13 18:04:41 2018 +0100

    Exclude id file from backup 🐒

commit e1c6695d21
Author: Dmitri Popov <dmpop@linux.com>
Date:   Sat Jan 13 17:54:48 2018 +0100

    Fix card id 🐒

commit a0edc912ce
Author: Dmitri Popov <dmpop@linux.com>
Date:   Sat Jan 13 17:52:31 2018 +0100

    Fix card id 🐒

commit 4d9832c47b
Author: Dmitri Popov <dmpop@linux.com>
Date:   Sat Jan 13 17:41:43 2018 +0100

    Fix card id 🐒

commit 3bf32c33fb
Author: Dmitri Popov <dmpop@linux.com>
Date:   Sat Jan 13 17:22:38 2018 +0100

    Date/time as card id 🐒

commit acd75a2e6b
Author: Dmitri Popov <dmpop@linux.com>
Date:   Mon Jan 8 19:00:34 2018 +0100

    Add else to handle existing .id file 🐒

commit e409e19bc8
Author: Dmitri Popov <dmpop@linux.com>
Date:   Mon Jan 8 18:46:38 2018 +0100

    Improve card ID handling 🐒
2018-01-30 19:25:34 +01:00
2017-05-20 11:33:26 +02:00
2016-12-27 16:43:39 +01:00
2018-01-30 19:25:34 +01:00
2016-12-27 16:43:39 +01:00
2016-12-27 16:43:39 +01:00
Add acl 🐒
2017-12-30 12:03:03 +01:00
2017-03-17 14:50:29 +01:00
2018-01-30 19:25:34 +01:00

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.

Installation

First of all, make sure that your Raspberry Pi is connected to the internet.

Run the following command on the Raspberry Pi:

curl -sSL https://goo.gl/btmpKd | bash

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 > /home/pi/little-backup-box.log

Uncomment then the line below by removing #:

#@reboot sudo /home/pi/little-backup-box/gphoto-backup.sh > /home/pi/gphoto-backup.log

Save the changes.

Usage

  1. Boot the Raspberry Pi
  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

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.

Problems?

Please report bugs and issues in the Issues section.

Contribute

If you've found a bug or have a suggestion for improvement, open an issue in the Issues section.

To add a new feature or fix issues yourself, follow the following steps.

  1. Fork the project's repository repository
  2. Create a feature branch using the git checkout -b new-feature command
  3. Add your new feature or fix bugs and run the git commit -am 'Add a new feature' command to commit changes
  4. Push changes using the git push origin new-feature command
  5. Submit a pull request

Author

Dmitri Popov dmpop@linux.com

License

The GNU General Public License version 3

Linux Photography

Little Backup Box is a part of a streamlined and automated Linux-based photographic workflow described in the Linux Photography book. The book provides step-by-step instructions on building a Raspberry Pi-based photo backup device running the Little Backup Box script. Get your copy at Google Play Store or Gumroad.

Description
No description provided
Readme 1.2 MiB
Languages
Shell 79.1%
PHP 20.9%