README.md 998 Bytes
Newer Older
Thimo Kraemer's avatar
Thimo Kraemer committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
A graphical web frontend to [Box Backup](http://www.boxbackup.org/) written in [Python](http://www.python.org/).

Installation
============

1. Extract tar file to your www folder (on backup client, not server)
2. Create a user without shell access, eg. *bbexp*
3. Set owner: ```chown bbexp.bbexp bbexplorer.cgi```
4. Set mode: ```chmod 500 bbexplorer.cgi```
5. This script should be accessible only by authenticated users and must be executed as file owner. Therefore you have to modify your apache configuration to something like:

```
SuexecUserGroup    bbexp bbexp

<Location />
    AddHandler    cgi-script .cgi

    AuthType      Basic
    AuthName      "Box Backup Explorer"
    AuthUserFile  /path/to/.htusers
    Require       valid-user
</Location>
```

6. This script partially executes itself via sudo. Modify sudoers by running *visudo* and add:

```
# Box Backup Explorer
bbexp ALL=NOPASSWD: /path/to/bbexplorer.cgi
```

7. Finally adjust the configuration section in *bbexplorer.cgi*