View on GitHub

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.

Little Backup Box

About

Depending on your needs and options, little-backup-box can be operated in a simple housing, with a display (possibly with buttons for the display menu) or even with a touchscreen.
Thanks to the web interface, functionality is fully guaranteed in any case.


Little Backup Box in its 3D printed case


Little Backup Box in a touchscreen housing - watch Dave’s video on YouTube


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.
Backups can be made directly from many cameras and smartphones. Of course, USB storages (card reader) can also serve as a source.
Your valuable data can be backed up on cloud storage from numerous providers - even with VPN protection if necessary.
Media content can be viewed and rated for the subsequent process.


These languages are already available. Do you want to maintain or create a translation?

Jump to installation instructions

Changelog
Have a look at the gallery
Web resources

Features

Some of the features of the web user interface are

It’s your swiss army knife for reliably performing, checking and managing backups on the go.

Development status

Little Backup Box is still under construction.
Please test your Installation carefully before productive use!
Little Backup Box has undergone massive development over the past few months. At the moment, no further major innovations are planned. Instead, the focus should now be on finding and correcting any errors and making the system even more reliable.
Hence the request: Test, test, test!
Please give feedback on problems or translation errors but also on the successful use, if possible with details of your equipment.

Please mind the wiki!

As there is no manual available anymore, the github-wiki should replace it one day: https://github.com/outdoorbits/little-backup-box/wiki. It’s not particularly detailed yet, but it can certainly help with the most common questions.

Installation

  1. Create a bootable SD card with Raspberry Pi OS (bookworm or bullseye) for use with Little Backup Box. If you don't plan to use a graphic environment on a regular monitor, you are recommended to use the lite version.'
    An easy way is to use Raspberry Pi Imager. Please select "Raspberry Pi OS (other)" > "Raspberry Pi OS Lite (32-bit)" or "Raspberry Pi OS Lite (64-bit)".
    In Raspberry Pi Imager you can define options for your image. Shift+Ctrl+x opens the options-dialog. Here you can ...
    • enable ssh
    • change the password for user pi (standard password is "raspberry")
    • define wifi settings
  2. If you couldn't activate ssh in the previous step, just add an empty (text-)file "ssh" to the new boot-partition to enable ssh.
  3. Do not change any more settings (language!).
  4. Make sure that your Raspberry Pi is connected to the internet.
  5. login to your Raspberry Pi. If you are using ssh, there is a report about problems using WINSCP. While WINSCP itself uses putty, it's reported to work with native putty.
  6. Run the following command on the Raspberry Pi:
    branch='main'; curl -sSL https://raw.githubusercontent.com/outdoorbits/little-backup-box/${branch}/install-little-backup-box.sh | bash -s -- ${branch} 2> install-error.log

    Errors are reported into ./install-error.log.
  7. You will be asked for the default backup mode.
    This is the action started automatically after boot.
  8. You will be asked if you want to install comitup.
    The comitup service establishes wifi connectivity for a headless Linux system, using wifi as the only access mechanism to the system. Access the box by its own wifi hotspot or connect it to a local wifi access point.
  9. Don't worry: Please note this in case you installed via wifi/ssh and decided to install comitup. If your installation-screen scrolls down and seems to freeze at something like Setting up python3-networkmanager (2.2-1) ..., this doesn't mean anything went wrong. Comitup is installed at the end of the process and when it's coming up, it changes your wifi-network. Your ssh-session is broken and you will not get any more information. In the background the installation finishes and a few seconds later the pi reboots. What you can't see anymore is a short information, how to access Little Backup Box. In your setting, this would be the information you need:

    ******************************************************************************************
    *** How to proceed:
    ***
    *** Your raspberrys wifi-configuration has been removed by comitup now. Because comitup has no
    *** access-data for your wifi yet, it can't connect to it and will start as a wifi-hotspot:
    *** ssid=little-backup-box-nnnn (nnnn is a random number).
    ***
    *** Please connect your mobile or notebook to this wifi.
    ***
    *** There are two options now:
    ***
    *** 1. If you want to configure comitup now, navigate to http://10.41.0.1 (http, not https!)
    *** and connect your lbb to your wifi.
    *** Connect your mobile or notbook to the same wifi. If you use a display on your lbb, it will
    *** tell you its new IP. Connect to lbb:
    *** https://IP.IN.YOUR.WIFI (secure, certificate can't be verified automatically, please confirm it)
    *** http://IP.IN.YOUR.WIFI:8000 (insecure)
    ***
    *** 2. Alternatively can reach the web UI of Little Backup Box when you are connected to its
    *** hotspot as follows:
    ***
    *** https://10.41.0.1 (secure, certificate can't be verified automatically, please confirm it)
    *** http://10.41.0.1:8000 (insecure)
    ***
    *** Please use the settings of the web UI to optimally adapt the Little Backup Box for you.
    ***
    *** If you have further questions, please check the wiki first:
    *** https://github.com/outdoorbits/little-backup-box/wiki
    ***
    *** We are always happy to receive your feedback!
    ******************************************************************************************

Start

If everything went well, it’s done! Open a browser and enter https://IP.OF.YOUR.BOX or http://IP.OF.YOUR.BOX:8000
Have fun!

Update

Contribute

  1. Open an issue to discuss your idea.
  2. Fork the project's repository.
  3. Create a feature branch using the git checkout -b new-feature command.
  4. Add your new feature or fix bugs and run the git commit -am 'Add a new feature' command to commit changes.
  5. Push changes using the git push origin new-feature command.
  6. Submit a pull request (in your fork at github.com).

Authors

Stefan Saam, founder is Dmitri Popov. He has entrusted me with the further maintenance of Little Backup Box. Thank you Dima for this great project.

Contributors

License

The GNU General Public License version 3