bksh Publisher's description
from OndЕ™ej ДЊeДЌГЎk
This is a backup tool I wrote not too long ago to work around backup limitations.
This is a backup tool I wrote not too long ago to work around backup limitations. The problem was the following: given a secure machine with close to no free disk space, how to proceed with a secure backup without giving a full login shell on the backup server?
This might seem simple to solve, but it is not. You can't just give out ftp access, since it's insecure (sniffable). HTTP is also out since you'd have to write another web-based application.
I decided to write a "shell", in C, and I called it bksh. What it does is pretty simple, it reads a file from standard input and writes it to a (compile-time restricted) directory. The files are separated each in a private directory named to the client's IP address (taken from ssh's SSH_CLIENT environment), so client can't overwrite each other's backups. A filename can be specified as a shell argument. If the filename is already taken, the files are rotated in a manner similar to newsyslog(8). The number of rotated files can be compiled-in or configurable on the command line.
System Requirements:No special requirements.
Program Release Status: New Release
Program Install Support: Install and Uninstall