Projects / The Backup Shell

The Backup Shell

bksh is a simple program designed to be used as a shell by SSH. All it does it to copy its input to a given backup file. Its goal is to allow administrators to create backup-only accounts.

Operating Systems

Recent releases

  •  05 Mar 2004 03:22

    Release Notes: The compilation and POSIX issues that appeared on NetBSD have been fixed. A major error where write errors weren't checked has been corrected. Also, the command line configuration of the number of backup files to keep was badly broken and is now fixed. A few handy shell scripts have also been packaged, providing statistics on per-host disk usage and "out of the box" backup of databases and files.

    •  23 Jun 2003 21:34

      Release Notes: Documentation and code cleanup.

      •  27 Jan 2003 21:53

        Release Notes: The code has been thoroughly reviewed. This allowed discovery of a minor bug that appeared when a file could be opened without being writable. The shell now exits gracefully instead of entering an endless loop.

        •  27 Jan 2003 21:51

          Release Notes: The client side script now supports on the fly compression and has stricter argument checking. Documentation of that script and installation procedures has been improved.

          •  23 Jan 2003 09:37

            No changes have been submitted for this release.

            Recent comments

            17 Sep 2003 07:41 anarcat

            Re: bksh usage

            I'm glad to hear from people actually using the software! I've seen a few people downloading it, but no feedback..

            Your comment was very refreshing. Indeed, the whole program should chroot on the first occasion, and is "ready for chroot", as you say, so this will probably be integrated in the next release.

            I wouldn't want to increase the dependencies of the software, so I probably won't implement SQL logging as you requested. I like the fact that bksh is entirely filesystem based. I wrote some scripts to analyze du(1) output and generate per-host disk usage stats and such, and that will also end up in the next release.

            Thanks and stay tuned!


            16 Sep 2003 23:31 alanblockley

            bksh usage
            This program is brilliant for making images of a file system to a remote site ready for chroot usage. Work falwlessly on a redhat 7.1 envrionment and on gentoo environment. Would like to see maybe some sort of sql logging of it's usage, but that's a want not a need and might be something that can be put in elsewhere.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.